summaryrefslogtreecommitdiff
path: root/src/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/inventory.cpp')
-rw-r--r--src/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/inventory.cpp b/src/inventory.cpp
index f9956798f..180e09b27 100644
--- a/src/inventory.cpp
+++ b/src/inventory.cpp
@@ -186,7 +186,7 @@ void Inventory::distributeSlotsChangedEvent()
{
InventoryListenerList::const_iterator i = mInventoryListeners.begin();
InventoryListenerList::const_iterator i_end = mInventoryListeners.end();
- for (; i != i_end; i++)
+ for (; i != i_end; ++i)
(*i)->slotsChanged(this);
}