summaryrefslogtreecommitdiff
path: root/protocols/Weather/src
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-06-15 20:18:00 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-06-15 20:18:00 +0300
commitf6487d1f797f9a890f409bf7f27ceacbb512c9a6 (patch)
treea7c6dca46a986316d8a89473bbab17db2738854b /protocols/Weather/src
parent47f4a954b02d78388b69267d793d534db0d6f295 (diff)
Weather: added ability to redefine RSHOWER & SSHOWER statuses also
Diffstat (limited to 'protocols/Weather/src')
-rw-r--r--protocols/Weather/src/weather_conv.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/protocols/Weather/src/weather_conv.cpp b/protocols/Weather/src/weather_conv.cpp
index 06202d2e1a..6ab6b2958f 100644
--- a/protocols/Weather/src/weather_conv.cpp
+++ b/protocols/Weather/src/weather_conv.cpp
@@ -316,8 +316,8 @@ void GetElev(wchar_t *tempchar, wchar_t *unit, wchar_t *str)
// cond = the string for weather condition
// return value = status for the icon (ONLINE, OFFLINE, etc)
-static const wchar_t *statusStr[] = { L"Lightning", L"Fog", L"Snow", L"Rain", L"Partly Cloudy", L"Cloudy", L"Sunny", L"N/A" };
-static const WORD statusValue[] = { LIGHT, FOG, SNOW, RAIN, PCLOUDY, CLOUDY, SUNNY, NA };
+static const wchar_t *statusStr[] = { L"Lightning", L"Fog", L"Snow", L"Rain", L"Partly Cloudy", L"Cloudy", L"Sunny", L"N/A", L"Rain Shower", L"Snow Shower"};
+static const WORD statusValue[] = { LIGHT, FOG, SNOW, RAIN, PCLOUDY, CLOUDY, SUNNY, NA, RSHOWER, SSHOWER };
WORD GetIcon(const wchar_t *cond, WIDATA *Data)
{