changeset 245:62f2f8f7cb2d

Add parenthesis around affection to clear a gcc warning.
author zas_
date Thu, 03 Apr 2008 22:03:14 +0000
parents 7754bfc0d98a
children bee34a6a4aec
files src/image-overlay.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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')