diff options
author | George Hazan <george.hazan@gmail.com> | 2012-11-29 11:43:52 +0000 |
---|---|---|
committer | George Hazan <george.hazan@gmail.com> | 2012-11-29 11:43:52 +0000 |
commit | 41958e91d52457e264e7e62e22beb605432a76a2 (patch) | |
tree | 88fb1623464d18e0fe80775f7fba4660aad229ca /plugins/Weather/src/weather_mwin.cpp | |
parent | 35d3ce335858b8ac7c9db915f798f2f6a916a16d (diff) |
- weather is not updated in the virtual mode;
- unused option removed
git-svn-id: http://svn.miranda-ng.org/main/trunk@2557 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src/weather_mwin.cpp')
-rw-r--r-- | plugins/Weather/src/weather_mwin.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/Weather/src/weather_mwin.cpp b/plugins/Weather/src/weather_mwin.cpp index f5f305109f..9e6288cd34 100644 --- a/plugins/Weather/src/weather_mwin.cpp +++ b/plugins/Weather/src/weather_mwin.cpp @@ -180,7 +180,7 @@ static LRESULT CALLBACK wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara fntc1 = CallService(MS_FONT_GETT, (WPARAM)&fntid, (LPARAM)&lfnt1);
}
- DBGetContactSettingTString(data->hContact, WEATHERCONDITION, "WeatherInfo", &dbv);
+ db_get_ts(data->hContact, WEATHERCONDITION, "WeatherInfo", &dbv);
GetClientRect(hwnd, &rc);
@@ -254,7 +254,7 @@ static LRESULT CALLBACK wndProc(HWND hwnd, UINT msg, WPARAM wParam, LPARAM lPara static void addWindow(HANDLE hContact)
{
DBVARIANT dbv;
- DBGetContactSettingTString(hContact, WEATHERPROTONAME, "Nick", &dbv);
+ db_get_ts(hContact, WEATHERPROTONAME, "Nick", &dbv);
TCHAR winname[512];
mir_sntprintf(winname, SIZEOF(winname), _T("Weather: %s"), dbv.ptszVal);
|