summaryrefslogtreecommitdiff
path: root/plugins/Alarms/src/alarm_win.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/Alarms/src/alarm_win.cpp')
-rw-r--r--plugins/Alarms/src/alarm_win.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Alarms/src/alarm_win.cpp b/plugins/Alarms/src/alarm_win.cpp
index 9cabb6b70d..092911db54 100644
--- a/plugins/Alarms/src/alarm_win.cpp
+++ b/plugins/Alarms/src/alarm_win.cpp
@@ -277,7 +277,7 @@ INT_PTR CALLBACK DlgProcAlarm(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPar
#define AddItem(x) \
mmi.wID++; \
mmi.dwTypeData = TranslateT(x); \
- mmi.cch = ( UINT )_tcslen(mmi.dwTypeData); \
+ mmi.cch = ( UINT )mir_tstrlen(mmi.dwTypeData); \
InsertMenuItem(hMenu, mmi.wID, FALSE, &mmi);
AddItem(LPGEN("5 mins"));