summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRobert Pösel <robyer@seznam.cz>2016-03-05 20:21:49 +0000
committerRobert Pösel <robyer@seznam.cz>2016-03-05 20:21:49 +0000
commit5234aa1830af43d98ea2fa88881eb9af283160f0 (patch)
tree0a720d68b3b28d26391e3e93ffbaa0be2e6c0e8b /src
parent5a3a1cfb1f333ec1b4b7763dc82f9eb45126a836 (diff)
Fix typo from r16431
git-svn-id: http://svn.miranda-ng.org/main/trunk@16436 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'src')
-rw-r--r--src/mir_app/src/options_ei.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mir_app/src/options_ei.cpp b/src/mir_app/src/options_ei.cpp
index 19c38b4a57..c64d025d70 100644
--- a/src/mir_app/src/options_ei.cpp
+++ b/src/mir_app/src/options_ei.cpp
@@ -311,7 +311,7 @@ public:
oldSlots[i] = -1;
lastUsedSlot = max(lastUsedSlot, registeredExtraIcons[i]->getSlot());
}
- lastUsedSlot = max(lastUsedSlot, GetNumberOfSlots());
+ lastUsedSlot = min(lastUsedSlot, GetNumberOfSlots());
// Get user data and create new groups
LIST<ExtraIconGroup> groups(1);