From 446ee442f34bb9f8e6f52d29e3985c9025fbffd7 Mon Sep 17 00:00:00 2001 From: Michal Zima Date: Mon, 8 Feb 2010 22:59:42 +0100 Subject: Found one more string to be translated More code style corrections --- src/client/yes_no_dialog.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'src/client/yes_no_dialog.c') 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); } } -- cgit v1.2.3