aboutsummaryrefslogtreecommitdiff
path: root/src/ui/UiHost.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-08 14:11:44 +0800
committercrupest <crupest@outlook.com>2020-10-08 14:11:44 +0800
commita1f950e2b3b2268b267e647205b14b59c15f8ee1 (patch)
tree914faf4cf39bdd687203b28dad6bffb2c6a83649 /src/ui/UiHost.cpp
parent937b16dff40b6eba68d6bc13162f838c8432f43b (diff)
downloadcru-a1f950e2b3b2268b267e647205b14b59c15f8ee1.tar.gz
cru-a1f950e2b3b2268b267e647205b14b59c15f8ee1.tar.bz2
cru-a1f950e2b3b2268b267e647205b14b59c15f8ee1.zip
...
Diffstat (limited to 'src/ui/UiHost.cpp')
-rw-r--r--src/ui/UiHost.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/UiHost.cpp b/src/ui/UiHost.cpp
index 5451ebce..d8dcb6da 100644
--- a/src/ui/UiHost.cpp
+++ b/src/ui/UiHost.cpp
@@ -16,7 +16,7 @@ using platform::native::IUiApplication;
namespace event_names {
#ifdef CRU_DEBUG
// clang-format off
-#define CRU_DEFINE_EVENT_NAME(name) constexpr const char16_t* name = u#name;
+#define CRU_DEFINE_EVENT_NAME(name) constexpr const char16_t* name = CRU_MAKE_UNICODE_LITERAL(name);
// clang-format on
#else
#define CRU_DEFINE_EVENT_NAME(name) constexpr const char16_t* name = u"";