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.cpp20
1 files changed, 10 insertions, 10 deletions
diff --git a/plugins/Alarms/src/alarm_win.cpp b/plugins/Alarms/src/alarm_win.cpp
index c271880119..50d487328a 100644
--- a/plugins/Alarms/src/alarm_win.cpp
+++ b/plugins/Alarms/src/alarm_win.cpp
@@ -364,31 +364,31 @@ int ReloadFonts(WPARAM, LPARAM)
int AlarmWinModulesLoaded(WPARAM, LPARAM)
{
title_font_id.cbSize = sizeof(FontIDT);
- _tcscpy(title_font_id.group, LPGENT("Alarms"));
- _tcscpy(title_font_id.name, LPGENT("Title"));
+ mir_tstrcpy(title_font_id.group, LPGENT("Alarms"));
+ mir_tstrcpy(title_font_id.name, LPGENT("Title"));
mir_strcpy(title_font_id.dbSettingsGroup, MODULE);
mir_strcpy(title_font_id.prefix, "FontTitle");
- _tcscpy(title_font_id.backgroundGroup,LPGENT("Alarms"));
- _tcscpy(title_font_id.backgroundName,LPGENT("Background"));
+ mir_tstrcpy(title_font_id.backgroundGroup,LPGENT("Alarms"));
+ mir_tstrcpy(title_font_id.backgroundName,LPGENT("Background"));
title_font_id.flags = 0;
title_font_id.order = 0;
FontRegisterT(&title_font_id);
window_font_id.cbSize = sizeof(FontIDT);
- _tcscpy(window_font_id.group, LPGENT("Alarms"));
- _tcscpy(window_font_id.name, LPGENT("Window"));
+ mir_tstrcpy(window_font_id.group, LPGENT("Alarms"));
+ mir_tstrcpy(window_font_id.name, LPGENT("Window"));
mir_strcpy(window_font_id.dbSettingsGroup, MODULE);
mir_strcpy(window_font_id.prefix, "FontWindow");
- _tcscpy(window_font_id.backgroundGroup,LPGENT("Alarms"));
- _tcscpy(window_font_id.backgroundName,LPGENT("Background"));
+ mir_tstrcpy(window_font_id.backgroundGroup,LPGENT("Alarms"));
+ mir_tstrcpy(window_font_id.backgroundName,LPGENT("Background"));
window_font_id.flags = 0;
window_font_id.order = 1;
FontRegisterT(&window_font_id);
bk_colour_id.cbSize = sizeof(ColourIDT);
mir_strcpy(bk_colour_id.dbSettingsGroup, MODULE);
- _tcscpy(bk_colour_id.group, LPGENT("Alarms"));
- _tcscpy(bk_colour_id.name, LPGENT("Background"));
+ mir_tstrcpy(bk_colour_id.group, LPGENT("Alarms"));
+ mir_tstrcpy(bk_colour_id.name, LPGENT("Background"));
mir_strcpy(bk_colour_id.setting, "BkColour");
bk_colour_id.defcolour = GetSysColor(COLOR_3DFACE);
bk_colour_id.flags = 0;