diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:52:29 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2015-05-22 19:52:29 +0000 |
commit | babf7873a3fe373d60ef22b1b671d98e014d8819 (patch) | |
tree | e21dfdb68839616efbbd884dfa77a1745f1c35d7 /plugins/Alarms | |
parent | a89887eb202c99ce09107668561abce6704f9004 (diff) |
replace strcpy to mir_strcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13763 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
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;
|