summaryrefslogtreecommitdiff
path: root/src/mir_core/src/icons.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/mir_core/src/icons.cpp')
-rw-r--r--src/mir_core/src/icons.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/mir_core/src/icons.cpp b/src/mir_core/src/icons.cpp
index 9b2ee4a65c..a5c310d6b8 100644
--- a/src/mir_core/src/icons.cpp
+++ b/src/mir_core/src/icons.cpp
@@ -31,7 +31,7 @@ MIR_CORE_DLL(void) Icon_Register(HINSTANCE hInst, const char *szSection, IconIte
SKINICONDESC sid = { 0 };
sid.defaultFile.w = szFile;
sid.section.a = (char*)szSection;
- sid.flags = SIDF_PATH_TCHAR;
+ sid.flags = SIDF_PATH_UNICODE;
for (unsigned i = 0; i < iCount; i++) {
char szSetting[100];
@@ -56,7 +56,7 @@ MIR_CORE_DLL(void) Icon_RegisterT(HINSTANCE hInst, const wchar_t *szSection, Ico
SKINICONDESC sid = { 0 };
sid.defaultFile.w = szFile;
sid.section.w = (wchar_t*)szSection;
- sid.flags = SIDF_ALL_TCHAR;
+ sid.flags = SIDF_ALL_UNICODE;
for (unsigned i = 0; i < iCount; i++) {
char szSetting[100];