Mercurial > geeqie.yaz
diff src/print.c @ 506:fc9c8a3e1a8b
Handle the newline in DEBUG_N() macro instead of adding one
in each debug message string.
author | zas_ |
---|---|
date | Thu, 24 Apr 2008 00:15:03 +0000 |
parents | c7a2471e5c4e |
children | 135570a8bd96 |
line wrap: on
line diff
--- a/src/print.c Wed Apr 23 23:52:20 2008 +0000 +++ b/src/print.c Thu Apr 24 00:15:03 2008 +0000 @@ -932,7 +932,7 @@ while (*end != '\0' && *end != '\n' && *end != ' ' && *end != '\t') end++; *end = '\0'; list = g_list_append(list, g_strdup(ptr)); - DEBUG_1("adding printer: %s\n", ptr); + DEBUG_1("adding printer: %s", ptr); } pclose(p);