Mercurial > geeqie
diff src/main.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/main.c Wed Apr 23 23:52:20 2008 +0000 +++ b/src/main.c Thu Apr 24 00:15:03 2008 +0000 @@ -220,7 +220,7 @@ if (!command || !path) return; - DEBUG_1("Help command pre \"%s\", \"%s\"\n", command, path); + DEBUG_1("Help command pre \"%s\", \"%s\"", command, path); buf = g_strdup(command); begin = strstr(buf, "%s"); @@ -238,7 +238,7 @@ } g_free(buf); - DEBUG_1("Help command post [%s]\n", result); + DEBUG_1("Help command post [%s]", result); system(result); @@ -1162,7 +1162,7 @@ } } - DEBUG_1("debugging output enabled (level %d)\n", debug); + DEBUG_1("debugging output enabled (level %d)", debug); #endif }