summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-02-06 07:59:53 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-02-06 07:59:53 +0000
commit1d9a2d26d7b7b458d7e65a683e7ca3d7506ced8b (patch)
tree735e6e4517a644902354c72b2566994d9be6a2e4
parent7aa194b9f14d8f1520ee248b6dbc643bc57aefa9 (diff)
Minor fix
git-svn-id: http://svn.miranda-ng.org/main/trunk@12017 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
-rw-r--r--plugins/Weather/src/weather_addstn.cpp2
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