From 2273323d978cd85fb22f4dd3dfe0d018f72241fb Mon Sep 17 00:00:00 2001 From: Ira Rice Date: Sun, 25 Jan 2009 20:05:27 -0700 Subject: Goofed up the default inventory size that shows with inventory windows. Signed-off-by: Ira Rice --- src/gui/inventorywindow.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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). -- cgit v1.2.3-70-g09d2