g_warning adds a \n
Dana Jansens danakj@orodu.net
1 files changed,
2 insertions(+),
2 deletions(-)
jump to
M
obt/ddfile.c
→
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; }