Mercurial > geeqie.yaz
diff src/image-overlay.c @ 245:62f2f8f7cb2d
Add parenthesis around affection to clear a gcc warning.
author | zas_ |
---|---|
date | Thu, 03 Apr 2008 22:03:14 +0000 |
parents | f4a0555794a9 |
children | c7fefb0a4b78 |
line wrap: on
line diff
--- a/src/image-overlay.c Thu Apr 03 22:01:08 2008 +0000 +++ b/src/image-overlay.c Thu Apr 03 22:03:14 2008 +0000 @@ -127,7 +127,7 @@ /* search and destroy empty lines */ end = new->str; - while (start = strchr(end, '\n')) + while ((start = strchr(end, '\n'))) { end = start; while (*++(end) == '\n')