Skip to content

Commit 07c3af2

Browse files
Removed extra parenthesis
1 parent 7dd0950 commit 07c3af2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/bimp-utils.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ char* comp_get_filename(char* path)
7979
pfile = path + strlen(path);
8080
for (; pfile > path; pfile--)
8181
{
82-
if ((*pfile == FILE_SEPARATOR)) //'\\') || (*pfile == '/'))
82+
if (*pfile == FILE_SEPARATOR)
8383
{
8484
pfile++;
8585
break;
@@ -98,7 +98,7 @@ char* comp_get_filefolder(char* path)
9898

9999
for (i = strlen(folder); i > 0 ; i--)
100100
{
101-
if ((folder[i-1] == FILE_SEPARATOR))
101+
if (folder[i-1] == FILE_SEPARATOR)
102102
{
103103
folder[i] = '\0';
104104
break;

0 commit comments

Comments
 (0)