summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-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);
}