]> hydra-www.ietfng.org Git - gtetrinet/commitdiff
fix previous change.
authorJordi Albornoz <jordi@src.gnome.org>
Wed, 8 Jan 2003 15:00:41 +0000 (15:00 +0000)
committerJordi Albornoz <jordi@src.gnome.org>
Wed, 8 Jan 2003 15:00:41 +0000 (15:00 +0000)
ChangeLog
src/misc.c

index ae5d736f1c57c6244945c835285cfef32d2b8239..4f16b20c6b48f1e8f162223defc02ecac67d24ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2003-01-08  Jordi Mallach  <jordi@sindominio.net>
+
+       * src/misc.c (nocolor): fix previous change.
+
 2003-01-07  Jordi Mallach  <jordi@sindominio.net>
 
        * src/misc.c (nocolor): don't assume signedness of char.
index b5f38eb594df1ab5c30e026aa1e52975a6032d00..55e9695275b62dd1552ca915a03d88cedc92dee0 100644 (file)
@@ -285,8 +285,7 @@ char *nocolor (char *str)
 {
   static GString *ret = NULL;
   size_t len = strlen(str);
-  signed char *scan = NULL;
-  char *p = NULL;
+  signed char *scan, *p = NULL;
   
   if (!ret)
     ret = g_string_new("");