aboutsummaryrefslogtreecommitdiff
path: root/src/ui/UiHost.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2020-10-17 15:58:00 +0800
committercrupest <crupest@outlook.com>2020-10-17 15:58:00 +0800
commitbb3d4d561a7c0b0b6cec5561d0a84a1bfc30bf55 (patch)
tree6930ab471e66a61f8a3806e532d69d0ff9c634e8 /src/ui/UiHost.cpp
parent46ff47d2f47a66372ca0a8a09dd08c4fb04004f3 (diff)
parenta1f950e2b3b2268b267e647205b14b59c15f8ee1 (diff)
downloadcru-bb3d4d561a7c0b0b6cec5561d0a84a1bfc30bf55.tar.gz
cru-bb3d4d561a7c0b0b6cec5561d0a84a1bfc30bf55.tar.bz2
cru-bb3d4d561a7c0b0b6cec5561d0a84a1bfc30bf55.zip
Merge branch 'master' of https://github.com/crupest/CruUI into master
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 0fdf2f53..48a4e06e 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"";