summaryrefslogtreecommitdiff
path: root/src/client
diff options
context:
space:
mode:
authorMichal Zima <xhire@mujmalysvet.cz>2010-02-08 22:59:42 +0100
committerMichal Zima <xhire@mujmalysvet.cz>2010-02-08 22:59:42 +0100
commit446ee442f34bb9f8e6f52d29e3985c9025fbffd7 (patch)
treefc0c39ba0b9fd5a05d8d86ce4ffe3331e6006887 /src/client
parent6d80682e084f0f51a9441f7f94ac955d7700d12d (diff)
Found one more string to be translated
More code style corrections
Diffstat (limited to 'src/client')
-rw-r--r--src/client/yes_no_dialog.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/client/yes_no_dialog.c b/src/client/yes_no_dialog.c
index 0b7f9b3..d982933 100644
--- a/src/client/yes_no_dialog.c
+++ b/src/client/yes_no_dialog.c
@@ -73,12 +73,9 @@ void yes_no_dialog_set_active(bool_t active)
{
active_dialog = active;
- if (active_dialog == TRUE)
- {
+ if (active_dialog == TRUE) {
hot_key_register(SDLK_ESCAPE, hotkey_escape);
- }
- else
- {
+ } else {
hot_key_unregister(SDLK_ESCAPE);
}
}