Add parenthesis around affection to clear a gcc warning.
authorLaurent Monin <geeqie@norz.org>
Thu, 3 Apr 2008 22:03:14 +0000 (22:03 +0000)
committerLaurent Monin <geeqie@norz.org>
Thu, 3 Apr 2008 22:03:14 +0000 (22:03 +0000)
src/image-overlay.c

index c135541..2053442 100644 (file)
@@ -127,7 +127,7 @@ static gchar *image_osd_mkinfo(const gchar *str, ImageWindow *imd, GHashTable *v
        
        /* search and destroy empty lines */
        end = new->str;
-       while (start = strchr(end, '\n'))
+       while ((start = strchr(end, '\n')))
                {
                end = start;
                while (*++(end) == '\n')