summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorRogier Polak <rogier.l.a.polak@gmail.com>2007-03-03 18:19:49 +0000
committerRogier Polak <rogier.l.a.polak@gmail.com>2007-03-03 18:19:49 +0000
commit7d09a35a7d0d6102c238cba0531d623fa137501f (patch)
treedf37740a5af09af25a58c34e89314995596664ed /src/main.cpp
parentbe1bd893e87ef40855f531b287c94ab4445c12a9 (diff)
downloadmana-7d09a35a7d0d6102c238cba0531d623fa137501f.tar.gz
mana-7d09a35a7d0d6102c238cba0531d623fa137501f.tar.bz2
mana-7d09a35a7d0d6102c238cba0531d623fa137501f.tar.xz
mana-7d09a35a7d0d6102c238cba0531d623fa137501f.zip
Fixed auto-character-select and switch_character combination. Added svn-properties keyword and eol-style, where appropriate.
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 7fa996af..1e7ae32d 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -853,8 +853,12 @@ int main(int argc, char *argv[])
config.getValue("lastCharacter", ""));
if (options.chooseDefault)
+ {
((CharSelectDialog*) currentDialog)->action(
gcn::ActionEvent(NULL, "ok"));
+ options.chooseDefault = false;
+ }
+
break;
case STATE_UNREGISTER_ATTEMPT: