From ddd1af0fdf37364c9472faedad941b4cc5f1b465 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Wed, 27 Jul 2016 11:50:07 +0000 Subject: removed from git-svn-id: http://svn.miranda-ng.org/main/trunk@17136 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Weather/src/weather_conv.cpp | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'plugins/Weather/src/weather_conv.cpp') diff --git a/plugins/Weather/src/weather_conv.cpp b/plugins/Weather/src/weather_conv.cpp index 31b0e1b93a..44805cc451 100644 --- a/plugins/Weather/src/weather_conv.cpp +++ b/plugins/Weather/src/weather_conv.cpp @@ -96,7 +96,7 @@ void GetTemp(wchar_t *tempchar, wchar_t *unit, wchar_t* str) } // convert the string to an integer - temp = _ttof(tempchar); + temp = _wtof(tempchar); // convert all to F first if (!mir_tstrcmpi(unit, L"C")) temp = (temp * 9 / 5) + 32; @@ -135,7 +135,7 @@ void GetPressure(wchar_t *tempchar, wchar_t *unit, wchar_t* str) // convert the string to a floating point number (always positive) // if it end up with 0, then it's not a number, return the original string and quit - output = _ttof(tempchar); + output = _wtof(tempchar); if (output == 0) { mir_tstrcpy(str, tempchar); return; @@ -194,7 +194,7 @@ void GetSpeed(wchar_t *tempchar, wchar_t *unit, wchar_t *str) // convert the string into an integer (always positive) // if the result is 0, then the string is not a number, return _T("" - tempunit = _ttof(tempchar); + tempunit = _wtof(tempchar); if (tempunit == 0 && tempchar[0] != '0') return; @@ -241,7 +241,7 @@ void GetDist(wchar_t *tempchar, wchar_t *unit, wchar_t *str) // convert the string to a floating point number (always positive) // if it end up with 0, then it's not a number, return the original string and quit - output = _ttof(tempchar); + output = _wtof(tempchar); if (output == 0) { mir_tstrcpy(str, tempchar); return; @@ -281,7 +281,7 @@ void GetElev(wchar_t *tempchar, wchar_t *unit, wchar_t *str) // convert the string to a floating point number (always positive) // if it end up with 0, then it's not a number, return the original string and quit - output = _ttof(tempchar); + output = _wtof(tempchar); if (output == 0) { mir_tstrcpy(str, tempchar); return; -- cgit v1.2.3