summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/inventorywindow.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventorywindow.h b/src/gui/inventorywindow.h
index 33b6ff52..a1f8b858 100644
--- a/src/gui/inventorywindow.h
+++ b/src/gui/inventorywindow.h
@@ -46,7 +46,7 @@ class InventoryWindow : public Window, gcn::ActionListener,
/**
* Constructor.
*/
- InventoryWindow(int invSize = INVENTORY_SIZE);
+ InventoryWindow(int invSize = (INVENTORY_SIZE - 2));
/**
* Logic (updates buttons and weight information).