diff options
Diffstat (limited to 'plugins/Alarms')
-rw-r--r-- | plugins/Alarms/src/alarm_win.cpp | 12 | ||||
-rw-r--r-- | plugins/Alarms/src/frame.cpp | 8 |
2 files changed, 10 insertions, 10 deletions
diff --git a/plugins/Alarms/src/alarm_win.cpp b/plugins/Alarms/src/alarm_win.cpp index 092911db54..c271880119 100644 --- a/plugins/Alarms/src/alarm_win.cpp +++ b/plugins/Alarms/src/alarm_win.cpp @@ -366,8 +366,8 @@ int AlarmWinModulesLoaded(WPARAM, LPARAM) title_font_id.cbSize = sizeof(FontIDT);
_tcscpy(title_font_id.group, LPGENT("Alarms"));
_tcscpy(title_font_id.name, LPGENT("Title"));
- strcpy(title_font_id.dbSettingsGroup, MODULE);
- strcpy(title_font_id.prefix, "FontTitle");
+ 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"));
title_font_id.flags = 0;
@@ -377,8 +377,8 @@ int AlarmWinModulesLoaded(WPARAM, LPARAM) window_font_id.cbSize = sizeof(FontIDT);
_tcscpy(window_font_id.group, LPGENT("Alarms"));
_tcscpy(window_font_id.name, LPGENT("Window"));
- strcpy(window_font_id.dbSettingsGroup, MODULE);
- strcpy(window_font_id.prefix, "FontWindow");
+ 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"));
window_font_id.flags = 0;
@@ -386,10 +386,10 @@ int AlarmWinModulesLoaded(WPARAM, LPARAM) FontRegisterT(&window_font_id);
bk_colour_id.cbSize = sizeof(ColourIDT);
- strcpy(bk_colour_id.dbSettingsGroup, MODULE);
+ mir_strcpy(bk_colour_id.dbSettingsGroup, MODULE);
_tcscpy(bk_colour_id.group, LPGENT("Alarms"));
_tcscpy(bk_colour_id.name, LPGENT("Background"));
- strcpy(bk_colour_id.setting, "BkColour");
+ mir_strcpy(bk_colour_id.setting, "BkColour");
bk_colour_id.defcolour = GetSysColor(COLOR_3DFACE);
bk_colour_id.flags = 0;
bk_colour_id.order = 0;
diff --git a/plugins/Alarms/src/frame.cpp b/plugins/Alarms/src/frame.cpp index a24f04d765..a9b0abba93 100644 --- a/plugins/Alarms/src/frame.cpp +++ b/plugins/Alarms/src/frame.cpp @@ -590,10 +590,10 @@ int CreateFrame() FontRegister(&font_id);
framebk_colour_id.cbSize = sizeof(ColourID);
- strcpy(framebk_colour_id.dbSettingsGroup, MODULE);
- strcpy(framebk_colour_id.group, LPGEN("Frames"));
- strcpy(framebk_colour_id.name, LPGEN("Alarm reminders"));
- strcpy(framebk_colour_id.setting, "clFrameBack");
+ mir_strcpy(framebk_colour_id.dbSettingsGroup, MODULE);
+ mir_strcpy(framebk_colour_id.group, LPGEN("Frames"));
+ mir_strcpy(framebk_colour_id.name, LPGEN("Alarm reminders"));
+ mir_strcpy(framebk_colour_id.setting, "clFrameBack");
framebk_colour_id.defcolour = GetSysColor(COLOR_3DFACE);
framebk_colour_id.flags = 0;
framebk_colour_id.order = 0;
|