summaryrefslogtreecommitdiff
path: root/src/gui/char_server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/char_server.cpp')
-rw-r--r--src/gui/char_server.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gui/char_server.cpp b/src/gui/char_server.cpp
index ec7eaefa..cb085053 100644
--- a/src/gui/char_server.cpp
+++ b/src/gui/char_server.cpp
@@ -42,7 +42,7 @@ ServerSelectDialog::ServerSelectDialog():
okButton = new Button("OK");
cancelButton = new Button("Cancel");
- setSize(200, 100);
+ setContentSize(200, 100);
cancelButton->setPosition(
200 - cancelButton->getWidth() - 5,