diff options
-rw-r--r-- | plugins/Weather/src/weather_addstn.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/Weather/src/weather_addstn.cpp b/plugins/Weather/src/weather_addstn.cpp index 50a01b9afb..0a1a49a3ab 100644 --- a/plugins/Weather/src/weather_addstn.cpp +++ b/plugins/Weather/src/weather_addstn.cpp @@ -246,7 +246,7 @@ int IDSearchProc(TCHAR *sID, const int searchId, WIIDSEARCH *sData, TCHAR *svc, mir_free(szData);
// Station not found exit
- if (bFound) return 1;
+ if (!bFound) return 1;
}
// give no station name but only ID if the search is unavailable
|