summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
Diffstat (limited to 'gui')
-rw-r--r--gui/init.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/gui/init.cpp b/gui/init.cpp
index 77d90212..db7ab46f 100644
--- a/gui/init.cpp
+++ b/gui/init.cpp
@@ -129,7 +129,7 @@ static void qdebug_to_console(QtMsgType, const QMessageLogContext& ctx, const QS
else
#endif
{
-#if defined _WIN32 && 1
+#if defined _WIN32
const wchar_t* const bytes = (const wchar_t*)msg.utf16();
#else
unsigned len = (unsigned)msg.size()+1;