From ddd1af0fdf37364c9472faedad941b4cc5f1b465 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jul 2016 11:50:07 +0000 Subject: removed from git-svn-id: http://svn.miranda-ng.org/main/trunk@17136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Weather/src/weather_mwin.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 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 fdd83c3d94..1dd09bf864 100644 --- a/plugins/Weather/src/weather_mwin.cpp +++ b/plugins/Weather/src/weather_mwin.cpp @@ -158,7 +158,7 @@ static LRESULT CALLBACK wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara { FontIDT fntid = { 0 }; - mir_tstrcpy(fntid.group, _T(WEATHERPROTONAME)); + mir_tstrcpy(fntid.group, _A2W(WEATHERPROTONAME)); mir_tstrcpy(fntid.name, LPGENW("Frame Font")); fntc = CallService(MS_FONT_GETT, (WPARAM)&fntid, (LPARAM)&lfnt); @@ -329,7 +329,7 @@ void InitMwin(void) mir_strcpy(colourid.dbSettingsGroup, WEATHERPROTONAME); mir_strcpy(colourid.setting, "ColorMwinFrame"); mir_tstrcpy(colourid.name, LPGENW("Frame Background")); - mir_tstrcpy(colourid.group, _T(WEATHERPROTONAME)); + mir_tstrcpy(colourid.group, _A2W(WEATHERPROTONAME)); colourid.defcolour = GetSysColor(COLOR_3DFACE); ColourRegisterT(&colourid); @@ -337,7 +337,7 @@ void InitMwin(void) fontid.cbSize = sizeof(FontIDT); fontid.flags = FIDF_ALLOWREREGISTER | FIDF_DEFAULTVALID; mir_strcpy(fontid.dbSettingsGroup, WEATHERPROTONAME); - mir_tstrcpy(fontid.group, _T(WEATHERPROTONAME)); + mir_tstrcpy(fontid.group, _A2W(WEATHERPROTONAME)); mir_tstrcpy(fontid.name, LPGENW("Frame Font")); mir_strcpy(fontid.prefix, "fnt0"); @@ -347,7 +347,7 @@ void InitMwin(void) fontid.deffontsettings.charset = DEFAULT_CHARSET; mir_tstrcpy(fontid.deffontsettings.szFace, L"Verdana"); - mir_tstrcpy(fontid.backgroundGroup, _T(WEATHERPROTONAME)); + mir_tstrcpy(fontid.backgroundGroup, _A2W(WEATHERPROTONAME)); mir_tstrcpy(fontid.backgroundName, LPGENW("Frame Background")); FontRegisterT(&fontid); -- cgit v1.2.3