summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-07-11 02:16:53 +0200
committerStanislaw Halik <sthalik@misaki.pl>2019-07-11 02:16:53 +0200
commit9b07c79a0d732695e22bae69f7821bd0e88416ff (patch)
tree2715871341411079b4f61628bb016c77d19bf851 /gui
parente682ed2e333d873b1f6325495f91cb6be654ecc8 (diff)
gui/init: fix indentation
Diffstat (limited to 'gui')
-rw-r--r--gui/init.cpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/gui/init.cpp b/gui/init.cpp
index c3ca53e0..9821404d 100644
--- a/gui/init.cpp
+++ b/gui/init.cpp
@@ -149,12 +149,10 @@ static void qdebug_to_console(QtMsgType loglevel, const QMessageLogContext& ctx,
bytes[len-1] = 0;
(void)msg.toWCharArray(bytes);
#endif
- {
- if (ctx.file)
- std::fprintf(stderr, "%s [%s:%d]: %ls\n", level, ctx.file, ctx.line, bytes);
- else
- std::fprintf(stderr, "%s %ls\n", level, bytes);
- }
+ if (ctx.file)
+ std::fprintf(stderr, "%s [%s:%d]: %ls\n", level, ctx.file, ctx.line, bytes);
+ else
+ std::fprintf(stderr, "%s %ls\n", level, bytes);
std::fflush(stderr);
}
}