From c09aa99a7e9915c503064d6eb5e9dd1bdd2a673f Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 22 May 2015 20:07:58 +0000 Subject: replace _tcscpy to mir_tstrcpy git-svn-id: http://svn.miranda-ng.org/main/trunk@13764 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Weather/src/weather_mwin.cpp | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'plugins/Weather/src/weather_mwin.cpp') diff --git a/plugins/Weather/src/weather_mwin.cpp b/plugins/Weather/src/weather_mwin.cpp index 5e6573461f..485abfeefe 100644 --- a/plugins/Weather/src/weather_mwin.cpp +++ b/plugins/Weather/src/weather_mwin.cpp @@ -167,11 +167,11 @@ static LRESULT CALLBACK wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara { FontIDT fntid = {0}; - _tcscpy(fntid.group, _T(WEATHERPROTONAME)); - _tcscpy(fntid.name, LPGENT("Frame Font")); + mir_tstrcpy(fntid.group, _T(WEATHERPROTONAME)); + mir_tstrcpy(fntid.name, LPGENT("Frame Font")); fntc = CallService(MS_FONT_GETT, (WPARAM)&fntid, (LPARAM)&lfnt); - _tcscpy(fntid.name, LPGENT("Frame Title Font")); + mir_tstrcpy(fntid.name, LPGENT("Frame Title Font")); fntc1 = CallService(MS_FONT_GETT, (WPARAM)&fntid, (LPARAM)&lfnt1); } @@ -344,8 +344,8 @@ void InitMwin(void) colourid.cbSize = sizeof(ColourIDT); mir_strcpy(colourid.dbSettingsGroup, WEATHERPROTONAME); mir_strcpy(colourid.setting, "ColorMwinFrame"); - _tcscpy(colourid.name, LPGENT("Frame Background")); - _tcscpy(colourid.group, _T(WEATHERPROTONAME)); + mir_tstrcpy(colourid.name, LPGENT("Frame Background")); + mir_tstrcpy(colourid.group, _T(WEATHERPROTONAME)); colourid.defcolour = GetSysColor(COLOR_3DFACE); ColourRegisterT(&colourid); @@ -353,8 +353,8 @@ void InitMwin(void) fontid.cbSize = sizeof(FontIDT); fontid.flags = FIDF_ALLOWREREGISTER | FIDF_DEFAULTVALID; mir_strcpy(fontid.dbSettingsGroup, WEATHERPROTONAME); - _tcscpy(fontid.group, _T(WEATHERPROTONAME)); - _tcscpy(fontid.name, LPGENT("Frame Font")); + mir_tstrcpy(fontid.group, _T(WEATHERPROTONAME)); + mir_tstrcpy(fontid.name, LPGENT("Frame Font")); mir_strcpy(fontid.prefix, "fnt0"); HDC hdc = GetDC(NULL); @@ -362,13 +362,13 @@ void InitMwin(void) ReleaseDC(0, hdc); fontid.deffontsettings.charset = DEFAULT_CHARSET; - _tcscpy(fontid.deffontsettings.szFace, _T("Verdana")); - _tcscpy(fontid.backgroundGroup, _T(WEATHERPROTONAME)); - _tcscpy(fontid.backgroundName, LPGENT("Frame Background")); + mir_tstrcpy(fontid.deffontsettings.szFace, _T("Verdana")); + mir_tstrcpy(fontid.backgroundGroup, _T(WEATHERPROTONAME)); + mir_tstrcpy(fontid.backgroundName, LPGENT("Frame Background")); FontRegisterT(&fontid); fontid.deffontsettings.style = DBFONTF_BOLD; - _tcscpy(fontid.name, LPGENT("Frame Title Font")); + mir_tstrcpy(fontid.name, LPGENT("Frame Title Font")); mir_strcpy(fontid.prefix, "fnt1"); FontRegisterT(&fontid); -- cgit v1.2.3