blob: bc929813a3fc4f2005e3153e0a807b06432b7046 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
--- a/src/utils.c
+++ b/src/utils.c
@@ -38,7 +38,7 @@
{
const char *p;
- if (p = strrchr (filename, '/'))
+ if ((p = strrchr (filename, '/')))
p = strrchr (filename, '/') + 1;
else
p = filename;
|