aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
diff options
context:
space:
mode:
authorPaweł Kołodziejski2003-11-08 23:22:16 +0000
committerPaweł Kołodziejski2003-11-08 23:22:16 +0000
commit14b7d027a24391b39e29b7168b8d67b2b6ebffae (patch)
tree29b76bd0fb949ecc9ed5269b5c43deaaf650af5f /gui/launcher.cpp
parente01e3ae46373b8af39daab782a6642f12da8f937 (diff)
downloadscummvm-rg350-14b7d027a24391b39e29b7168b8d67b2b6ebffae.tar.gz
scummvm-rg350-14b7d027a24391b39e29b7168b8d67b2b6ebffae.tar.bz2
scummvm-rg350-14b7d027a24391b39e29b7168b8d67b2b6ebffae.zip
cleanup whitespaces
svn-id: r11223
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r--gui/launcher.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/gui/launcher.cpp b/gui/launcher.cpp
index c1596d95c5..3dac816448 100644
--- a/gui/launcher.cpp
+++ b/gui/launcher.cpp
@@ -127,18 +127,18 @@ EditGameDialog::EditGameDialog(const String &domain, GameSettings target)
yoffset = vBorder;
// GUI: Label & edit widget for the game ID
- new StaticTextWidget(tab, x, yoffset+2, labelWidth, kLineHeight, "ID: ", kTextAlignRight);
- _domainWidget = new EditTextWidget(tab, x+labelWidth, yoffset, _w - labelWidth - 10, kLineHeight, _domain);
+ new StaticTextWidget(tab, x, yoffset + 2, labelWidth, kLineHeight, "ID: ", kTextAlignRight);
+ _domainWidget = new EditTextWidget(tab, x + labelWidth, yoffset, _w - labelWidth - 10, kLineHeight, _domain);
yoffset += 16;
// GUI: Label & edit widget for the description
- new StaticTextWidget(tab, x, yoffset+2, labelWidth, kLineHeight, "Name: ", kTextAlignRight);
- _descriptionWidget = new EditTextWidget(tab, x+labelWidth, yoffset, _w - labelWidth - 10, kLineHeight, description);
+ new StaticTextWidget(tab, x, yoffset + 2, labelWidth, kLineHeight, "Name: ", kTextAlignRight);
+ _descriptionWidget = new EditTextWidget(tab, x + labelWidth, yoffset, _w - labelWidth - 10, kLineHeight, description);
yoffset += 16;
// GUI: Label for the game path
new StaticTextWidget(tab, x, yoffset, labelWidth, kLineHeight, "Path: ", kTextAlignRight);
- new StaticTextWidget(tab, x+labelWidth, yoffset, _w - labelWidth - 10, kLineHeight, path, kTextAlignLeft);
+ new StaticTextWidget(tab, x + labelWidth, yoffset, _w - labelWidth - 10, kLineHeight, path, kTextAlignLeft);
yoffset += 16;
// Languag popup
@@ -393,7 +393,7 @@ void LauncherDialog::addGame() {
// an alternate description (to distinguish multiple versions of the
// game, e.g. 'Monkey German' and 'Monkey English') and set default
// options for that game.
-
+
if (_browser->runModal()) {
// User made his choice...
FilesystemNode *dir = _browser->getResult();
@@ -449,7 +449,7 @@ void LauncherDialog::addGame() {
ConfMan.set("description", result.description, domain);
}
ConfMan.set("path", dir->path(), domain);
-
+
// Display edit dialog for the new entry
EditGameDialog editDialog(domain, result);
if (editDialog.runModal()) {
@@ -503,7 +503,7 @@ void LauncherDialog::editGame(int item) {
// Write config to disk
ConfMan.flushToDisk();
-
+
// Update the ListWidget and force a redraw
updateListing();
draw();