summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOLFDB <olf@eisenzelt.de>2019-02-21 07:52:38 +0100
committerGitHub <noreply@github.com>2019-02-21 07:52:38 +0100
commitf277c495d1b1424b8d8e82b05e8e8dcb67de7fd2 (patch)
tree9dc6fc92949158b74d7936825b1148d0d6cbdf69
parent644fc2261e4a99bb25d50064f4f1b4434f7a6a9a (diff)
downloadnavit-f277c495d1b1424b8d8e82b05e8e8dcb67de7fd2.tar.gz
Indent
-rw-r--r--navit/gui/internal/gui_internal_keyboard.c11
1 files changed, 6 insertions, 5 deletions
diff --git a/navit/gui/internal/gui_internal_keyboard.c b/navit/gui/internal/gui_internal_keyboard.c
index 985aecdb8..aece32091 100644
--- a/navit/gui/internal/gui_internal_keyboard.c
+++ b/navit/gui/internal/gui_internal_keyboard.c
@@ -124,7 +124,7 @@ struct gui_internal_keyb_mode {
/*48: VKBD_CYRILLIC_LOWER*/ {"абв", 2, VKBD_CYRILLIC_UPPER, VKBD_LATIN_LOWER},
/*56: VKBD_DEGREE */ {"DEG", 2, VKBD_FLAG_2, VKBD_FLAG_2},
/*64: VKBD_GREEK_UPPER */ {"ABΓ", 2, VKBD_GREEK_LOWER, VKBD_LATIN_UPPER},
- /*72: VKBD_GREEK_LOWER */ {"abγ", 2, VKBD_GREEK_UPPER, VKBD_LATIN_LOWER}
+ /*72: VKBD_GREEK_LOWER */ {"abγ", 2, VKBD_GREEK_UPPER, VKBD_LATIN_LOWER}
};
@@ -281,10 +281,11 @@ gui_internal_keyboard_do(struct gui_priv *this, struct widget *wkbdb, int mode)
SPACER();
SPACER();
} else {
- if(mode==VKBD_GREEK_UPPER)
- MODE(VKBD_GREEK_LOWER);
- else
- MODE(VKBD_GREEK_UPPER);
+ if(mode==VKBD_GREEK_UPPER) {
+ MODE(VKBD_GREEK_LOWER);
+ } else {
+ MODE(VKBD_GREEK_UPPER);
+ }
MODE(VKBD_CYRILLIC_UPPER);
MODE(VKBD_CYRILLIC_LOWER);
wk=gui_internal_keyboard_key_data(this, wkbd, hide, 0, gui_internal_keyboard_change, wkbdb, NULL,max_w,max_h);