summaryrefslogtreecommitdiff
path: root/protocols/Weather/weather_userinfo.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2012-08-23 09:59:01 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2012-08-23 09:59:01 +0000
commit38fd059aded00e4ed846bf35779f4bbcf7133f0d (patch)
tree83880b3180d28767450e760ded72153f1aaa99fa /protocols/Weather/weather_userinfo.cpp
parent30d46fcb06781d1277483208488596daab65d09a (diff)
*fix for logging UTF8 events
*fix for unicode logging *fix for unicode templates *removed support for old Miranda git-svn-id: http://svn.miranda-ng.org/main/trunk@1524 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Weather/weather_userinfo.cpp')
-rw-r--r--protocols/Weather/weather_userinfo.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/protocols/Weather/weather_userinfo.cpp b/protocols/Weather/weather_userinfo.cpp
index 84c63d4d4d..0374b801cc 100644
--- a/protocols/Weather/weather_userinfo.cpp
+++ b/protocols/Weather/weather_userinfo.cpp
@@ -122,9 +122,7 @@ INT_PTR CALLBACK DlgProcUIPage(HWND hwndDlg, UINT msg, WPARAM wParam, LPARAM lPa
switch(LOWORD(wParam)) {
case IDC_MOREDETAIL:
{
- HWND hMoreDataDlg;
-
- hMoreDataDlg = WindowList_Find(hDataWindowList, hContact);
+ HWND hMoreDataDlg = WindowList_Find(hDataWindowList, hContact);
if (hMoreDataDlg == NULL)
hMoreDataDlg = CreateDialogParam(hInst, MAKEINTRESOURCE(IDD_BRIEF), NULL,
DlgProcMoreData, (LPARAM)hContact);