We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7dd0950 commit 07c3af2Copy full SHA for 07c3af2
src/bimp-utils.c
@@ -79,7 +79,7 @@ char* comp_get_filename(char* path)
79
pfile = path + strlen(path);
80
for (; pfile > path; pfile--)
81
{
82
- if ((*pfile == FILE_SEPARATOR)) //'\\') || (*pfile == '/'))
+ if (*pfile == FILE_SEPARATOR)
83
84
pfile++;
85
break;
@@ -98,7 +98,7 @@ char* comp_get_filefolder(char* path)
98
99
for (i = strlen(folder); i > 0 ; i--)
100
101
- if ((folder[i-1] == FILE_SEPARATOR))
+ if (folder[i-1] == FILE_SEPARATOR)
102
103
folder[i] = '\0';
104
0 commit comments