summaryrefslogtreecommitdiff
path: root/src/gui/windows/charselectdialog.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/charselectdialog.cpp')
-rw-r--r--src/gui/windows/charselectdialog.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/charselectdialog.cpp b/src/gui/windows/charselectdialog.cpp
index b4fa77506..524be16cc 100644
--- a/src/gui/windows/charselectdialog.cpp
+++ b/src/gui/windows/charselectdialog.cpp
@@ -141,7 +141,7 @@ CharSelectDialog::CharSelectDialog(LoginData &data) :
sz = width;
if (sz > mainGraphics->getWidth())
sz = mainGraphics->getWidth();
- reflowLayout(sz);
+ reflowLayout(sz, 0);
}
else
{
@@ -152,7 +152,7 @@ CharSelectDialog::CharSelectDialog(LoginData &data) :
mCharacterView->setWidth(mainGraphics->getWidth()
- 2 * getPadding());
placer(0, 1, mCharacterView, 10, 1);
- reflowLayout();
+ reflowLayout(0, 0);
}
addKeyListener(this);
center();