summaryrefslogtreecommitdiff
path: root/protocols/Weather/weather_userinfo.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-08-19 10:54:51 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-08-19 10:54:51 +0000
commitb4485ac19d490a1cd36d1aa9dd3eeed8076d0e89 (patch)
tree4e82af959102ebee55f2232c3f9f4c1f079516f3 /protocols/Weather/weather_userinfo.cpp
parentb267153a704955a17214ea1c630d603b790aa5d2 (diff)
fixes for unicode fonts (fixed #18)
Weather sounds are moved to its own group git-svn-id: http://svn.miranda-ng.org/main/trunk@1498 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Weather/weather_userinfo.cpp')
-rw-r--r--protocols/Weather/weather_userinfo.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Weather/weather_userinfo.cpp b/protocols/Weather/weather_userinfo.cpp
index 055fdb9fed..c00be9e018 100644
--- a/protocols/Weather/weather_userinfo.cpp
+++ b/protocols/Weather/weather_userinfo.cpp
@@ -38,7 +38,7 @@ int UserInfoInit(WPARAM wParam, LPARAM lParam)
odp.cbSize = sizeof(odp);
odp.hInstance = hInst;
odp.position = 100000000;
- odp.pszTitle = LPGEN(WEATHERPROTONAME);
+ odp.ptszTitle = _T(WEATHERPROTONAME);
if (lParam == 0)
{
@@ -54,7 +54,7 @@ int UserInfoInit(WPARAM wParam, LPARAM lParam)
// register the contact info page
odp.pszTemplate = MAKEINTRESOURCEA(IDD_USERINFO);
odp.pfnDlgProc = DlgProcUIPage;
- odp.flags = ODPF_BOLDGROUPS;
+ odp.flags = ODPF_BOLDGROUPS|ODPF_TCHAR;
UserInfo_AddPage(wParam, &odp);
}
}