From 6c3187213d174617ddbd89b2c70da86f71c5f906 Mon Sep 17 00:00:00 2001 From: Darkvater Date: Tue, 9 Jan 2007 21:25:13 +0000 Subject: (svn r8013) -Codechange (r6921, rUnknown): Show the error message of corrupt or missing (own) files through a ShowInfo(F). This way windows users also see this message and bugs such as FS#528 will not happen anymore. Put ShowInfo(F) error output to stderr and not stdout. --- src/settings.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/settings.c') diff --git a/src/settings.c b/src/settings.c index b6d7fa895..2f509768f 100644 --- a/src/settings.c +++ b/src/settings.c @@ -247,7 +247,7 @@ static IniFile *ini_load(const char *filename) // it's a group? if (s[0] == '[') { if (e[-1] != ']') { - ShowInfoF("ini: invalid group name '%s'\n", buffer); + ShowInfoF("ini: invalid group name '%s'", buffer); } else { e--; } @@ -282,7 +282,7 @@ static IniFile *ini_load(const char *filename) item->value = pool_strdup(&ini->pool, t, e - t); } else { // it's an orphan item - ShowInfoF("ini: '%s' outside of group\n", buffer); + ShowInfoF("ini: '%s' outside of group", buffer); } } -- cgit v1.2.3-70-g09d2