summaryrefslogtreecommitdiffhomepage
path: root/gui
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-22 15:36:06 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-22 15:36:06 +0100
commitb36c427e532d715a2572daaeb2d736de3a7203e6 (patch)
treed4e9df65ee6738d0448351b230cbc2f7443c7fbe /gui
parentdb9167199aef8b976d4c4e9d479edd001c807418 (diff)
gui/init: enable back alloca usage
This was probably disabled by accident.
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;