diff src/rewrite.c @ 15:f671821d8222

code beautifying; 0 -> \0 if appropriate
author meillo@marmaro.de
date Thu, 06 Nov 2008 09:18:38 +0100
parents 26e34ae9a3e3
children 681863fdafbb
line wrap: on
line diff
--- a/src/rewrite.c	Wed Oct 29 21:21:26 2008 +0100
+++ b/src/rewrite.c	Thu Nov 06 09:18:38 2008 +0100
@@ -54,7 +54,7 @@
 			if (*p == ',')
 				p++;
 
-			new_hdr = g_strconcat(new_hdr, rewr_string, *p != 0 ? "," : NULL, NULL);
+			new_hdr = g_strconcat(new_hdr, rewr_string, *p != '\0' ? "," : NULL, NULL);
 
 		} else
 			return FALSE;