g_warning adds a \n

This commit is contained in:
Dana Jansens 2010-03-24 21:37:41 -04:00
parent 5ca9c2e03c
commit 4e70343b3e

View file

@ -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;
}