summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather_userinfo.cpp
diff options
context:
space:
mode:
authorKirill Volinsky <mataes2007@gmail.com>2015-04-17 11:34:10 +0000
committerKirill Volinsky <mataes2007@gmail.com>2015-04-17 11:34:10 +0000
commit701fa64ae7efee3838ac2a1b2672cf0e64d1d445 (patch)
tree471aae0729ed49e9bf5409c3937c023f98ba63f8 /plugins/Weather/src/weather_userinfo.cpp
parent291b5ec8b25a0cfe9bdf669781f1c69193af6c48 (diff)
git-svn-id: http://svn.miranda-ng.org/main/trunk@12883 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src/weather_userinfo.cpp')
-rw-r--r--plugins/Weather/src/weather_userinfo.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/plugins/Weather/src/weather_userinfo.cpp b/plugins/Weather/src/weather_userinfo.cpp
index 641d37787c..befe325ad0 100644
--- a/plugins/Weather/src/weather_userinfo.cpp
+++ b/plugins/Weather/src/weather_userinfo.cpp
@@ -342,9 +342,8 @@ void LoadBriefInfoText(HWND hwndDlg, MCONTACT hContact)
GetDisplay(&winfo, opt.bText, str);
SetDlgItemText(hwndDlg, IDC_MTEXT, str);
- GetDisplay(&winfo, opt.bTitle, str);
- SetWindowText(hwndDlg, winfo.city);
GetDisplay(&winfo, _T("%c, %t"), str);
+ SetWindowText(hwndDlg, winfo.city);
SetDlgItemText(hwndDlg, IDC_HEADERBAR, str);
}