summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/stringutils.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/utils/stringutils.cpp b/src/utils/stringutils.cpp
index 71a82f16f..7f3ba988c 100644
--- a/src/utils/stringutils.cpp
+++ b/src/utils/stringutils.cpp
@@ -24,13 +24,13 @@
#include "const/utils/utf8.h"
-#ifndef DYECMD
+#ifdef DYECMD
+#include "utils/cast.h"
+#else // DYECMD
#include "resources/iteminfo.h"
-
#include "resources/db/itemdb.h"
#endif // DYECMD
-#include "utils/cast.h"
#include "utils/gettext.h"
#include "utils/foreach.h"