From d6331b6e7bbef9facc7e6c8bdc42ed4e7b58668d Mon Sep 17 00:00:00 2001 From: Tobias Weimer Date: Sun, 1 Mar 2015 20:50:59 +0000 Subject: XFire: - Major cleanup git-svn-id: http://svn.miranda-ng.org/main/trunk@12294 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- protocols/Xfire/src/Xfire_icon_mng.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols/Xfire/src/Xfire_icon_mng.cpp') 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; -- cgit v1.2.3