diff options
| author | George Hazan <ghazan@miranda.im> | 2020-01-16 22:17:42 +0300 |
|---|---|---|
| committer | George Hazan <ghazan@miranda.im> | 2020-01-16 22:17:42 +0300 |
| commit | fe800688fb00a530e5b629616ba870d6b651d9b4 (patch) | |
| tree | 316ddb718a1c14dd65ff2ff34f30e892d22e475a | |
| parent | bd00314ec32d42fa09918a8ca274b0707c73ec75 (diff) | |
minor fix
| -rw-r--r-- | protocols/Weather/src/weather_http.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Weather/src/weather_http.cpp b/protocols/Weather/src/weather_http.cpp index 5ef55cd7e8..b6e4edfa75 100644 --- a/protocols/Weather/src/weather_http.cpp +++ b/protocols/Weather/src/weather_http.cpp @@ -82,7 +82,7 @@ int InternetDownloadFile(char *szUrl, char *cookie, char *userAgent, wchar_t **s // allocate memory and save the retrieved data auto *pszHdr = Netlib_GetHeader(nlhrReply, "Content-Type"); // look for Content-Type=utf-8 in header - if (pszHdr && strstr(pszHdr, "utf-8")) + if (pszHdr && strstr(_strlwr(pszHdr), "utf-8")) bIsUtf = true; else { char *end = nlhrReply->pData; |
