From 23af445499887c5a557ab65c6ec3aec63632527e Mon Sep 17 00:00:00 2001 From: George Hazan Date: Sat, 1 May 2021 19:39:21 +0300 Subject: here variables' names should be fixed too --- protocols/Weather/src/weather_data.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Weather/src') diff --git a/protocols/Weather/src/weather_data.cpp b/protocols/Weather/src/weather_data.cpp index 472cf3073c..57bc17830e 100644 --- a/protocols/Weather/src/weather_data.cpp +++ b/protocols/Weather/src/weather_data.cpp @@ -187,7 +187,7 @@ void ConvertDataValue(WIDATAITEM *UpdateData, wchar_t *Data) // temperature if (!mir_wstrcmp(UpdateData->Name, L"Temperature") || !mir_wstrcmp(UpdateData->Name, L"High") || !mir_wstrcmp(UpdateData->Name, L"Low") || !mir_wstrcmp(UpdateData->Name, L"Feel") || - !mir_wstrcmp(UpdateData->Name, L"Dewpoint") || + !mir_wstrcmp(UpdateData->Name, L"Dew point") || !mir_wstrcmpi(UpdateData->Unit, L"C") || !mir_wstrcmpi(UpdateData->Unit, L"F") || !mir_wstrcmpi(UpdateData->Unit, L"K")) { GetTemp(Data, UpdateData->Unit, str); -- cgit v1.2.3