summaryrefslogtreecommitdiff
path: root/plugins/Weather/src/weather_info.cpp
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2014-11-07 20:36:31 +0000
committerRobert Pösel <robyer@seznam.cz>2014-11-07 20:36:31 +0000
commit0bf13f208abe2713455ba8e2d9ffb752233fcc24 (patch)
tree1aac80de79699b448f7bc88c5f7b8fb51304ad06 /plugins/Weather/src/weather_info.cpp
parent3a3ae2263b70483741017e01340d4898248138d2 (diff)
Weather: Add support for specifying own UserAgent in INI (requested in #810)
git-svn-id: http://svn.miranda-ng.org/main/trunk@10923 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins/Weather/src/weather_info.cpp')
-rw-r--r--plugins/Weather/src/weather_info.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/Weather/src/weather_info.cpp b/plugins/Weather/src/weather_info.cpp
index d50f3d1881..62859b800f 100644
--- a/plugins/Weather/src/weather_info.cpp
+++ b/plugins/Weather/src/weather_info.cpp
@@ -64,6 +64,7 @@ void INIInfo(HWND hwndDlg)
case 4: lvi.pszText = _T("1.2"); break;
case 5: lvi.pszText = _T("1.3"); break;
case 6: lvi.pszText = _T("1.4"); break;
+ case 7: lvi.pszText = _T("1.5"); break;
default: lvi.pszText = _T(""); break;
}
ListView_SetItem(hIniList, &lvi);
@@ -185,6 +186,7 @@ void GetINIInfo(TCHAR *pszSvc)
case 4: _tcscat(str2,_T("1.2")); break;
case 5: _tcscat(str2,_T("1.3")); break;
case 6: _tcscat(str2,_T("1.4")); break;
+ case 7: _tcscat(str2,_T("1.5")); break;
}
_tcscat(str2,_T("\n"));
_tcscat(str2, TranslateT("File Name:"));