From e682ed2e333d873b1f6325495f91cb6be654ecc8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 8 Jul 2019 09:53:04 +0200 Subject: gui/init: fix braino --- gui/init.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/gui/init.cpp b/gui/init.cpp index 1fd6ff4e..c3ca53e0 100644 --- a/gui/init.cpp +++ b/gui/init.cpp @@ -118,11 +118,11 @@ static void qdebug_to_console(QtMsgType loglevel, const QMessageLogContext& ctx, switch (loglevel) { default: - case QtDebugMsg: level = "DEBUG "; break; - case QtWarningMsg: level = "WARN "; break; - case QtCriticalMsg: level = "CRIT "; break; - case QtFatalMsg: level = "FATAL "; break; - case QtInfoMsg: level = "INFO "; break; + case QtDebugMsg: level = "DEBUG"; break; + case QtWarningMsg: level = "WARN"; break; + case QtCriticalMsg: level = "CRIT"; break; + case QtFatalMsg: level = "FATAL"; break; + case QtInfoMsg: level = "INFO"; break; } #ifdef _WIN32 @@ -151,9 +151,9 @@ static void qdebug_to_console(QtMsgType loglevel, const QMessageLogContext& ctx, #endif { if (ctx.file) - std::fprintf(stderr, "%s[%s:%d]: %ls\n", level, ctx.file, ctx.line, bytes); + std::fprintf(stderr, "%s [%s:%d]: %ls\n", level, ctx.file, ctx.line, bytes); else - std::fprintf(stderr, "%s%ls\n", level, bytes); + std::fprintf(stderr, "%s %ls\n", level, bytes); } std::fflush(stderr); } -- cgit v1.2.3