From 1d9a2d26d7b7b458d7e65a683e7ca3d7506ced8b Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Fri, 6 Feb 2015 07:59:53 +0000 Subject: Minor fix git-svn-id: http://svn.miranda-ng.org/main/trunk@12017 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/Weather/src/weather_addstn.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'plugins') 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 -- cgit v1.2.3