summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorYohann Ferreira <bertram@cegetel.net>2005-08-03 21:18:31 +0000
committerYohann Ferreira <bertram@cegetel.net>2005-08-03 21:18:31 +0000
commit2da65e2e57b664cc45c164f08ddae3597e51fcba (patch)
tree328672b6aee26f5532b79ef51ef01b350fbf3184 /src/game.cpp
parent741ccf53b036a120cb6b0c90d5c29165a7e78742 (diff)
downloadmana-client-2da65e2e57b664cc45c164f08ddae3597e51fcba.tar.gz
mana-client-2da65e2e57b664cc45c164f08ddae3597e51fcba.tar.bz2
mana-client-2da65e2e57b664cc45c164f08ddae3597e51fcba.tar.xz
mana-client-2da65e2e57b664cc45c164f08ddae3597e51fcba.zip
Now the 'Apply' and 'Cancel' buttons of the setup window work correctly.
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 2279cb5f..7e3e1bd2 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -363,10 +363,10 @@ void do_input()
{
helpWindow->setVisible(false);
}
- // Close the config window, applying changes if opened
+ // Close the config window, cancelling changes if opened
else if (setupWindow->isVisible())
{
- setupWindow->action("apply");
+ setupWindow->action("cancel");
}
// Else, open the chat edit box
else