summaryrefslogtreecommitdiff
path: root/protocols/Weather/src/weather_ini.cpp
diff options
context:
space:
mode:
authorGeorge Hazan <ghazan@miranda.im>2021-06-15 21:02:17 +0300
committerGeorge Hazan <ghazan@miranda.im>2021-06-15 21:02:17 +0300
commit4cf1469fc15b6a34a1b711f82e6678c41401552d (patch)
tree2fbe4432b1d5e4f58ede03116375ca181cc105cc /protocols/Weather/src/weather_ini.cpp
parentf6487d1f797f9a890f409bf7f27ceacbb512c9a6 (diff)
code cleaning
Diffstat (limited to 'protocols/Weather/src/weather_ini.cpp')
-rw-r--r--protocols/Weather/src/weather_ini.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/protocols/Weather/src/weather_ini.cpp b/protocols/Weather/src/weather_ini.cpp
index 077f0ef1a3..a719a799c4 100644
--- a/protocols/Weather/src/weather_ini.cpp
+++ b/protocols/Weather/src/weather_ini.cpp
@@ -224,7 +224,7 @@ static INT_PTR CALLBACK DlgProcSetup(HWND hwndDlg, UINT msg, WPARAM wParam, LPAR
// pszShortFile = the file name of the ini file, but not including the path
// Data = the struct to load the ini content to, and return to previous function
-static const char *statusStr[] =
+static const char *statusStr[MAX_COND] =
{
"LIGHTNING",
"FOG",
@@ -233,7 +233,9 @@ static const char *statusStr[] =
"PARTLY CLOUDY",
"CLOUDY",
"SUNNY",
- "N/A"
+ "N/A",
+ "RAIN SHOWER",
+ "SNOW SHOWER",
};
static void LoadStationData(const wchar_t *pszFile, wchar_t *pszShortFile, WIDATA *Data)