summaryrefslogtreecommitdiff
path: root/plugins/YAPP/src
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-05-22 20:07:58 +0000
commitc09aa99a7e9915c503064d6eb5e9dd1bdd2a673f (patch)
tree9b1b1447755b03dc6fcb327b027789b415e3119f /plugins/YAPP/src
parentbabf7873a3fe373d60ef22b1b671d98e014d8819 (diff)
replace _tcscpy to mir_tstrcpy
git-svn-id: http://svn.miranda-ng.org/main/trunk@13764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/YAPP/src')
-rw-r--r--plugins/YAPP/src/services.cpp2
-rw-r--r--plugins/YAPP/src/yapp.cpp40
2 files changed, 21 insertions, 21 deletions
diff --git a/plugins/YAPP/src/services.cpp b/plugins/YAPP/src/services.cpp
index 7bda806525..f968d505a2 100644
--- a/plugins/YAPP/src/services.cpp
+++ b/plugins/YAPP/src/services.cpp
@@ -290,7 +290,7 @@ static INT_PTR ShowMessage(WPARAM wParam, LPARAM lParam)
if (db_get_b(0, "Popup", "ModuleIsEnabled", 1)) {
POPUPDATAT pd = {0};
- _tcscpy(pd.lptzContactName, lParam == SM_WARNING ? _T("Warning") : _T("Notification"));
+ mir_tstrcpy(pd.lptzContactName, lParam == SM_WARNING ? _T("Warning") : _T("Notification"));
pd.lchIcon = LoadIcon(0, lParam == SM_WARNING ? IDI_WARNING : IDI_INFORMATION);
_tcsncpy(pd.lptzText, _A2T((char *)wParam), MAX_SECONDLINE); pd.lptzText[MAX_SECONDLINE-1] = 0;
CallService(MS_POPUP_ADDPOPUPT, (WPARAM)&pd, 0);
diff --git a/plugins/YAPP/src/yapp.cpp b/plugins/YAPP/src/yapp.cpp
index e91775973d..a499976d91 100644
--- a/plugins/YAPP/src/yapp.cpp
+++ b/plugins/YAPP/src/yapp.cpp
@@ -108,40 +108,40 @@ static void InitFonts()
{
font_id_firstline.cbSize = sizeof(FontIDT);
font_id_firstline.flags = FIDF_ALLOWEFFECTS;
- _tcscpy(font_id_firstline.group, LPGENT("Popups"));
- _tcscpy(font_id_firstline.name, LPGENT("First line"));
+ mir_tstrcpy(font_id_firstline.group, LPGENT("Popups"));
+ mir_tstrcpy(font_id_firstline.name, LPGENT("First line"));
mir_strcpy(font_id_firstline.dbSettingsGroup, MODULE);
mir_strcpy(font_id_firstline.prefix, "FontFirst");
- _tcscpy(font_id_firstline.backgroundGroup, _T("Popups"));
- _tcscpy(font_id_firstline.backgroundName, _T("Background"));
+ mir_tstrcpy(font_id_firstline.backgroundGroup, _T("Popups"));
+ mir_tstrcpy(font_id_firstline.backgroundName, _T("Background"));
font_id_firstline.order = 0;
FontRegisterT(&font_id_firstline);
font_id_secondline.cbSize = sizeof(FontIDT);
font_id_secondline.flags = FIDF_ALLOWEFFECTS;
- _tcscpy(font_id_secondline.group, LPGENT("Popups"));
- _tcscpy(font_id_secondline.name, LPGENT("Second line"));
+ mir_tstrcpy(font_id_secondline.group, LPGENT("Popups"));
+ mir_tstrcpy(font_id_secondline.name, LPGENT("Second line"));
mir_strcpy(font_id_secondline.dbSettingsGroup, MODULE);
mir_strcpy(font_id_secondline.prefix, "FontSecond");
- _tcscpy(font_id_secondline.backgroundGroup, _T("Popups"));
- _tcscpy(font_id_secondline.backgroundName, _T("Background"));
+ mir_tstrcpy(font_id_secondline.backgroundGroup, _T("Popups"));
+ mir_tstrcpy(font_id_secondline.backgroundName, _T("Background"));
font_id_secondline.order = 1;
FontRegisterT(&font_id_secondline);
font_id_time.cbSize = sizeof(FontIDT);
font_id_time.flags = FIDF_ALLOWEFFECTS;
- _tcscpy(font_id_time.group, LPGENT("Popups"));
- _tcscpy(font_id_time.name, LPGENT("Time"));
+ mir_tstrcpy(font_id_time.group, LPGENT("Popups"));
+ mir_tstrcpy(font_id_time.name, LPGENT("Time"));
mir_strcpy(font_id_time.dbSettingsGroup, MODULE);
mir_strcpy(font_id_time.prefix, "FontTime");
- _tcscpy(font_id_time.backgroundGroup, _T("Popups"));
- _tcscpy(font_id_time.backgroundName, _T("Background"));
+ mir_tstrcpy(font_id_time.backgroundGroup, _T("Popups"));
+ mir_tstrcpy(font_id_time.backgroundName, _T("Background"));
font_id_time.order = 2;
FontRegisterT(&font_id_time);
colour_id_bg.cbSize = sizeof(ColourIDT);
- _tcscpy(colour_id_bg.group, LPGENT("Popups"));
- _tcscpy(colour_id_bg.name, LPGENT("Background"));
+ mir_tstrcpy(colour_id_bg.group, LPGENT("Popups"));
+ mir_tstrcpy(colour_id_bg.name, LPGENT("Background"));
mir_strcpy(colour_id_bg.dbSettingsGroup, MODULE);
mir_strcpy(colour_id_bg.setting, "ColourBg");
colour_id_bg.defcolour = GetSysColor(COLOR_3DSHADOW);
@@ -149,8 +149,8 @@ static void InitFonts()
ColourRegisterT(&colour_id_bg);
colour_id_border.cbSize = sizeof(ColourIDT);
- _tcscpy(colour_id_border.group, LPGENT("Popups"));
- _tcscpy(colour_id_border.name, LPGENT("Border"));
+ mir_tstrcpy(colour_id_border.group, LPGENT("Popups"));
+ mir_tstrcpy(colour_id_border.name, LPGENT("Border"));
mir_strcpy(colour_id_border.dbSettingsGroup, MODULE);
mir_strcpy(colour_id_border.setting, "ColourBorder");
colour_id_border.defcolour = RGB(0, 0, 0);
@@ -158,8 +158,8 @@ static void InitFonts()
ColourRegisterT(&colour_id_border);
colour_id_sidebar.cbSize = sizeof(ColourIDT);
- _tcscpy(colour_id_sidebar.group, LPGENT("Popups"));
- _tcscpy(colour_id_sidebar.name, LPGENT("Sidebar"));
+ mir_tstrcpy(colour_id_sidebar.group, LPGENT("Popups"));
+ mir_tstrcpy(colour_id_sidebar.name, LPGENT("Sidebar"));
mir_strcpy(colour_id_sidebar.dbSettingsGroup, MODULE);
mir_strcpy(colour_id_sidebar.setting, "ColourSidebar");
colour_id_sidebar.defcolour = RGB(128, 128, 128);
@@ -167,8 +167,8 @@ static void InitFonts()
ColourRegisterT(&colour_id_sidebar);
colour_id_titleunderline.cbSize = sizeof(ColourIDT);
- _tcscpy(colour_id_titleunderline.group, LPGENT("Popups"));
- _tcscpy(colour_id_titleunderline.name, LPGENT("Title underline"));
+ mir_tstrcpy(colour_id_titleunderline.group, LPGENT("Popups"));
+ mir_tstrcpy(colour_id_titleunderline.name, LPGENT("Title underline"));
mir_strcpy(colour_id_titleunderline.dbSettingsGroup, MODULE);
mir_strcpy(colour_id_titleunderline.setting, "ColourTitleUnderline");
colour_id_titleunderline.defcolour = GetSysColor(COLOR_3DSHADOW);