From 6a519f13155c9012db6fb95f7f48a74029d6e3d2 Mon Sep 17 00:00:00 2001 From: George Hazan Date: Mon, 19 Nov 2012 17:59:03 +0000 Subject: minor code cleaning git-svn-id: http://svn.miranda-ng.org/main/trunk@2379 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- src/modules/extraicons/usedIcons.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/modules/extraicons/usedIcons.cpp') diff --git a/src/modules/extraicons/usedIcons.cpp b/src/modules/extraicons/usedIcons.cpp index e810dd1878..e36fac7d96 100644 --- a/src/modules/extraicons/usedIcons.cpp +++ b/src/modules/extraicons/usedIcons.cpp @@ -117,10 +117,8 @@ HANDLE AddIcon(HANDLE hIcolib) void RemoveIcon(const char *icolibName) { - for (unsigned int i = 0; i < usedIcons.size(); i++) - { + for (unsigned int i = 0; i < usedIcons.size(); i++) { Icon *icon = &usedIcons[i]; - if (icon->name != icolibName) continue; -- cgit v1.2.3