summaryrefslogtreecommitdiff
path: root/protocols/weather/weather_userinfo.c
diff options
context:
space:
mode:
Diffstat (limited to 'protocols/weather/weather_userinfo.c')
-rw-r--r--protocols/weather/weather_userinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/weather/weather_userinfo.c b/protocols/weather/weather_userinfo.c
index 07b296f601..2addea14da 100644
--- a/protocols/weather/weather_userinfo.c
+++ b/protocols/weather/weather_userinfo.c
@@ -362,7 +362,7 @@ void LoadBriefInfoText(HWND hwndDlg, HANDLE hContact)
// check if data exist. If not, display error message box
if (!(BOOL)DBGetContactSettingByte(hContact, WEATHERPROTONAME, "IsUpdated", FALSE))
{
- FixStr(Translate("No information available.\nPlease update weather condition first."), str);
+ strcpy(str, Translate("No information available.\r\nPlease update weather condition first."));
}
else
// set the display text and show the message box