aboutsummaryrefslogtreecommitdiff
path: root/scumm/dialogs.cpp
diff options
context:
space:
mode:
authorMax Horn2003-03-26 22:41:12 +0000
committerMax Horn2003-03-26 22:41:12 +0000
commitddb1173bf8c0e2a9ba1a29825fc999587803e404 (patch)
tree77ce6d054b953d4465eb61df4588029dcb14391d /scumm/dialogs.cpp
parentc842edb5bd09472e2f3059e1a420e69818ef5aa8 (diff)
downloadscummvm-rg350-ddb1173bf8c0e2a9ba1a29825fc999587803e404.tar.gz
scummvm-rg350-ddb1173bf8c0e2a9ba1a29825fc999587803e404.tar.bz2
scummvm-rg350-ddb1173bf8c0e2a9ba1a29825fc999587803e404.zip
grow default buttons size & browser dialog to accomodate for spanish games
svn-id: r6871
Diffstat (limited to 'scumm/dialogs.cpp')
-rw-r--r--scumm/dialogs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/scumm/dialogs.cpp b/scumm/dialogs.cpp
index 05a114eabf..9d48d338f7 100644
--- a/scumm/dialogs.cpp
+++ b/scumm/dialogs.cpp
@@ -304,7 +304,7 @@ enum {
SaveLoadDialog::SaveLoadDialog(NewGui *gui, Scumm *scumm)
: ScummDialog(gui, scumm, 30, 18, 260, 162) {
- const int x = 196;
+ const int x = _w - kButtonWidth - 8;
// The headline
addResText(0, 7, 260, 16, 1);
@@ -317,7 +317,7 @@ SaveLoadDialog::SaveLoadDialog(NewGui *gui, Scumm *scumm)
addButton(x, 100, queryResString(8), kQuitCmd, 'Q'); // Quit
// The save game list
- _savegameList = new ListWidget(this, 8, 20, 182, 134);
+ _savegameList = new ListWidget(this, 8, 20, x - 14, 134);
}
void SaveLoadDialog::open() {