diff options
| author | Michal Zima <xhire@mujmalysvet.cz> | 2010-02-08 22:59:42 +0100 |
|---|---|---|
| committer | Michal Zima <xhire@mujmalysvet.cz> | 2010-02-08 22:59:42 +0100 |
| commit | 446ee442f34bb9f8e6f52d29e3985c9025fbffd7 (patch) | |
| tree | fc0c39ba0b9fd5a05d8d86ce4ffe3331e6006887 /src/client | |
| parent | 6d80682e084f0f51a9441f7f94ac955d7700d12d (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.c | 7 |
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); } } |