diff options
Diffstat (limited to 'langpacks/english/Plugins/Weather.txt')
-rw-r--r-- | langpacks/english/Plugins/Weather.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/langpacks/english/Plugins/Weather.txt b/langpacks/english/Plugins/Weather.txt index f8b8cf64de..76f753dbbd 100644 --- a/langpacks/english/Plugins/Weather.txt +++ b/langpacks/english/Plugins/Weather.txt @@ -198,8 +198,7 @@ [KPA]
[HPA]
[TORR]
-["\r\nvoid GetSpeed(TCHAR *tempchar, TCHAR *unit, TCHAR *str) \r\n{\r\n // unit can be km/h, mph, m/s, knots\r\n double tempunit;\r\n TCHAR tstr[20];\r\n\r\n str[0] = 0;\r\n\r\n // convert the string into an integer (always positive)\r\n // if the result is 0, then the string is not a number, return _T(""\r\n tempunit = _ttof(tempchar);\r\n if (tempunit == 0 && tempchar[0] != '0]
-[KM/H]
+["\r\nvoid GetSpeed(TCHAR *tempchar, TCHAR *unit, TCHAR *str) \r\n{\r\n // unit can be km/h, mph, m/s, knots\r\n double tempunit;\r\n TCHAR tstr[20];\r\n\r\n str[0] = 0;\r\n\r\n // convert the string into an integer (always positive)\r\n // if the result is 0, then the string is not a number, return _T(""\r\n tempunit = _ttof(tempchar);\r\n if (tempunit == 0 && tempchar[0] != '0')\r\n return;\r\n\r\n // convert all to m/s first\r\n if ( !_tcsicmp(unit, _T("KM/H]
[M/S]
[MPH]
[KNOTS]
@@ -240,7 +239,7 @@ [wintry]
[drizzle]
[rain]
-[%20"\r\n// dis = original string\r\n// return value = the modified string with space -> _T("%20"\r\nchar *GetSearchStr(char *dis) \r\n{\r\n char *pstr = dis;\r\n size_t len = strlen(dis);\r\n while (*pstr != 0)\r\n {\r\n if (*pstr == ' ]
+[%20"\r\n// dis = original string\r\n// return value = the modified string with space -> _T("%20"\r\nchar *GetSearchStr(char *dis) \r\n{\r\n char *pstr = dis;\r\n size_t len = strlen(dis);\r\n while (*pstr != 0)\r\n {\r\n if (*pstr == ' ')\r\n {\r\n memmove(pstr+3, pstr+1, len);\r\n memcpy(pstr, _T("%20]
[<unknown time>]
[<Error>]
[HTTP Error %i]
@@ -250,6 +249,7 @@ [Low]
[Feel]
[Wind Speed]
+[KM/H]
[COND]
[DEG]
[DAY]
|