summaryrefslogtreecommitdiff
path: root/src/gui/shortcutwindow.cpp
diff options
context:
space:
mode:
authorPhilipp Sehmisch <crush@themanaworld.org>2009-02-11 17:02:16 +0100
committerPhilipp Sehmisch <crush@themanaworld.org>2009-02-11 17:02:16 +0100
commitf262dbd28f08001d70416e3cc4e62273d3fee2cd (patch)
tree539cbc8b27edf696120df0ac26531640c323692f /src/gui/shortcutwindow.cpp
parentd68f3fa13297cf4c8d29753e48c684496852ceba (diff)
parent63ac001daa7dfc0735dfefd9c2829c8786b4edaf (diff)
downloadmana-client-f262dbd28f08001d70416e3cc4e62273d3fee2cd.tar.gz
mana-client-f262dbd28f08001d70416e3cc4e62273d3fee2cd.tar.bz2
mana-client-f262dbd28f08001d70416e3cc4e62273d3fee2cd.tar.xz
mana-client-f262dbd28f08001d70416e3cc4e62273d3fee2cd.zip
Merge branch 'master' of git@gitorious.org:tmw/eathena
Diffstat (limited to 'src/gui/shortcutwindow.cpp')
-rw-r--r--src/gui/shortcutwindow.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/shortcutwindow.cpp b/src/gui/shortcutwindow.cpp
index 5d49a3c6..b6987b3e 100644
--- a/src/gui/shortcutwindow.cpp
+++ b/src/gui/shortcutwindow.cpp
@@ -50,7 +50,7 @@ ShortcutWindow::ShortcutWindow(const char *title, ShortcutContainer *content)
const int width = (int) config.getValue("screenwidth", 800);
const int height = (int) config.getValue("screenheight", 600);
- setDefaultSize(width - (mInstances * mItems->getBoxWidth()) -
+ setDefaultSize(width - (mInstances * mItems->getBoxWidth()) -
(mInstances * border), height - (mItems->getBoxHeight() *
mItems->getMaxItems()) - border, mItems->getBoxWidth() +
border, (mItems->getBoxHeight() * mItems->getMaxItems()) +