summaryrefslogtreecommitdiff
path: root/protocols/Weather/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-05-01 19:07:11 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-05-01 19:07:11 +0300
commitb2ede364067e1317b34c9227f3de3e5f1451202e (patch)
tree12b34deba18e7ccfbba5dc1e71d1e40f4338d8b3 /protocols/Weather/src
parent1cd75c5336a5ecdea2003bd45fb1875f021b1c6b (diff)
Weather:
fixes #2853 (Weather: разобраться с переменными) fixes #2852 (Weather: some strings cannot be translated)
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r--protocols/Weather/src/weather_data.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/Weather/src/weather_data.cpp b/protocols/Weather/src/weather_data.cpp
index 2ba284d2fa..472cf3073c 100644
--- a/protocols/Weather/src/weather_data.cpp
+++ b/protocols/Weather/src/weather_data.cpp
@@ -65,11 +65,11 @@ WEATHERINFO LoadWeatherInfo(MCONTACT hContact)
wcsncpy(winfo.sunset, NODATA, _countof(winfo.sunset) - 1);
if (db_get_wstatic(hContact, WEATHERCONDITION, "Sunrise", winfo.sunrise, _countof(winfo.sunrise)))
wcsncpy(winfo.sunrise, NODATA, _countof(winfo.sunrise) - 1);
- if (db_get_wstatic(hContact, WEATHERCONDITION, "Wind Speed", winfo.wind, _countof(winfo.wind)))
+ if (db_get_wstatic(hContact, WEATHERCONDITION, "Wind speed", winfo.wind, _countof(winfo.wind)))
wcsncpy(winfo.wind, NODATA, _countof(winfo.wind) - 1);
- if (db_get_wstatic(hContact, WEATHERCONDITION, "Wind Direction", winfo.winddir, _countof(winfo.winddir)))
+ if (db_get_wstatic(hContact, WEATHERCONDITION, "Wind direction", winfo.winddir, _countof(winfo.winddir)))
wcsncpy(winfo.winddir, NODATA, _countof(winfo.winddir) - 1);
- if (db_get_wstatic(hContact, WEATHERCONDITION, "Dewpoint", winfo.dewpoint, _countof(winfo.dewpoint)))
+ if (db_get_wstatic(hContact, WEATHERCONDITION, "Dew point", winfo.dewpoint, _countof(winfo.dewpoint)))
wcsncpy(winfo.dewpoint, NODATA, _countof(winfo.dewpoint) - 1);
if (db_get_wstatic(hContact, WEATHERCONDITION, "Pressure", winfo.pressure, _countof(winfo.pressure)))
wcsncpy(winfo.pressure, NODATA, _countof(winfo.pressure) - 1);