summaryrefslogtreecommitdiff
path: root/src/gui/inventory.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/inventory.cpp')
-rw-r--r--src/gui/inventory.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/inventory.cpp b/src/gui/inventory.cpp
index 76d81fab..21724927 100644
--- a/src/gui/inventory.cpp
+++ b/src/gui/inventory.cpp
@@ -34,7 +34,7 @@
InventoryWindow::InventoryWindow():
Window("Inventory")
{
- setSize(322, 100);
+ setContentSize(322, 100);
useButton = new Button("Use");
useButton->setPosition(20, 50);
dropButton = new Button("Drop");