diff src/alias.c @ 14:a8f3424347dc

replaced number 0 with character \0 where appropriate
author meillo@marmaro.de
date Wed, 29 Oct 2008 21:21:26 +0100
parents 26e34ae9a3e3
children a80ebfa16cd5
line wrap: on
line diff
--- a/src/alias.c	Wed Oct 29 21:10:18 2008 +0100
+++ b/src/alias.c	Wed Oct 29 21:21:26 2008 +0100
@@ -67,14 +67,14 @@
 	gchar *p, *q;
 
 	p = line;
-	while (*p != 0) {
+	while (*p != '\0') {
 		q = buf;
 		while (isspace(*p))
 			p++;
 		if (*p != '\"') {
 			while (*p && (*p != ',') && (q < buf + 255))
 				*(q++) = *(p++);
-			*q = 0;
+			*q = '\0';
 		} else {
 			gboolean escape = FALSE;
 			p++;
@@ -87,7 +87,7 @@
 				}
 				p++;
 			}
-			*q = 0;
+			*q = '\0';
 			while (*p && (*p != ','))
 				p++;
 		}