From 4e70343b3ed57db27c130de69e39f372694ef910 Mon Sep 17 00:00:00 2001 From: Dana Jansens Date: Wed, 24 Mar 2010 21:37:41 -0400 Subject: [PATCH] g_warning adds a \n --- obt/ddfile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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; } -- 2.45.2