From: Dana Jansens Date: Thu, 25 Mar 2010 01:37:41 +0000 (-0400) Subject: g_warning adds a \n X-Git-Tag: release-3.5.1~302 X-Git-Url: http://git.openbox.org/?a=commitdiff_plain;h=4e70343b3ed57db27c130de69e39f372694ef910;p=mikachu%2Fopenbox.git g_warning adds a \n --- diff --git a/obt/ddfile.c b/obt/ddfile.c index 15e705d6..b4b5d298 100644 --- a/obt/ddfile.c +++ b/obt/ddfile.c @@ -94,9 +94,9 @@ static void parse_error(const gchar *m, const ObtDDParse *const parse, gboolean *error) { if (!parse->filename) - g_warning("%s at line %lu of input\n", m, parse->lineno); + g_warning("%s at line %lu of input", m, parse->lineno); else - g_warning("%s at line %lu of file %s\n", + g_warning("%s at line %lu of file %s", m, parse->lineno, parse->filename); if (error) *error = TRUE; }