diff options
Diffstat (limited to 'src/gui/inventorywindow.cpp')
-rw-r--r-- | src/gui/inventorywindow.cpp | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/src/gui/inventorywindow.cpp b/src/gui/inventorywindow.cpp index 1e62b130..ec241800 100644 --- a/src/gui/inventorywindow.cpp +++ b/src/gui/inventorywindow.cpp @@ -35,6 +35,7 @@ #include "item_amount.h" #include "itemcontainer.h" #include "scrollarea.h" +#include "sdlinput.h" #include "viewport.h" #include "../item.h" @@ -263,8 +264,8 @@ void InventoryWindow::keyPressed(gcn::KeyEvent &event) { switch (event.getKey().getValue()) { - case gcn::Key::LEFT_SHIFT: - case gcn::Key::RIGHT_SHIFT: + case Key::LEFT_SHIFT: + case Key::RIGHT_SHIFT: mSplit = true; } } @@ -273,8 +274,8 @@ void InventoryWindow::keyReleased(gcn::KeyEvent &event) { switch (event.getKey().getValue()) { - case gcn::Key::LEFT_SHIFT: - case gcn::Key::RIGHT_SHIFT: + case Key::LEFT_SHIFT: + case Key::RIGHT_SHIFT: mSplit = false; } } |