summaryrefslogtreecommitdiff
path: root/protocols/Xfire/src/Xfire_icon_mng.cpp
diff options
context:
space:
mode:
authorTobias Weimer <wishmaster51@googlemail.com>2015-03-01 20:50:59 +0000
committerTobias Weimer <wishmaster51@googlemail.com>2015-03-01 20:50:59 +0000
commitd6331b6e7bbef9facc7e6c8bdc42ed4e7b58668d (patch)
tree44032474a6abe389fcc2c5302743c019f95d7074 /protocols/Xfire/src/Xfire_icon_mng.cpp
parentcbf1506b70dfa0e5e6a7ef9107b6e0f127d7724e (diff)
XFire:
- Major cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@12294 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'protocols/Xfire/src/Xfire_icon_mng.cpp')
-rw-r--r--protocols/Xfire/src/Xfire_icon_mng.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/Xfire/src/Xfire_icon_mng.cpp b/protocols/Xfire/src/Xfire_icon_mng.cpp
index b469e44595..90bf845253 100644
--- a/protocols/Xfire/src/Xfire_icon_mng.cpp
+++ b/protocols/Xfire/src/Xfire_icon_mng.cpp
@@ -28,7 +28,7 @@ unsigned int Xfire_icon_mng::getGameIconId(unsigned int gameid) {
//gameicon mit hilfe von id zurückliefern
HICON Xfire_icon_mng::getGameIconFromId(unsigned int id) {
//id nur im bereich zurückliefern
- if (id<0 || id>iconcache.size() - 1)
+ if (id>iconcache.size() - 1)
return NULL;
return iconcache.at(id).hicon;