summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIra Rice <irarice@gmail.com>2009-01-25 20:05:27 -0700
committerIra Rice <irarice@gmail.com>2009-01-25 20:05:27 -0700
commit2273323d978cd85fb22f4dd3dfe0d018f72241fb (patch)
treeefc738c476e018ba3bb437cdea976a5ae06a4832
parent0221a7bacfbf3246028a5d4f7ffd31ab968a22a1 (diff)
downloadmana-2273323d978cd85fb22f4dd3dfe0d018f72241fb.tar.gz
mana-2273323d978cd85fb22f4dd3dfe0d018f72241fb.tar.bz2
mana-2273323d978cd85fb22f4dd3dfe0d018f72241fb.tar.xz
mana-2273323d978cd85fb22f4dd3dfe0d018f72241fb.zip
Goofed up the default inventory size that shows with inventory windows.
Signed-off-by: Ira Rice <irarice@gmail.com>
-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).