From e86e1d0fa3fc7c2380c3aeb6a800b986fe7611ff Mon Sep 17 00:00:00 2001 From: Laurent MONIN Date: Fri, 29 Sep 2006 00:07:54 +0200 Subject: [PATCH] Trim some trailing whitespaces. --- src/bfu/dialog.c | 2 +- src/bfu/hotkey.c | 2 +- src/intl/charsets.c | 6 +++--- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/bfu/dialog.c b/src/bfu/dialog.c index a7051b1f..34e60266 100644 --- a/src/bfu/dialog.c +++ b/src/bfu/dialog.c @@ -289,7 +289,7 @@ select_button_by_key(struct dialog_data *dlg_data) #ifdef CONFIG_UTF8 int codepage; #endif - + struct widget_data *widget_data; struct term_event *ev = dlg_data->term_event; diff --git a/src/bfu/hotkey.c b/src/bfu/hotkey.c index 9ab50df6..c2622859 100644 --- a/src/bfu/hotkey.c +++ b/src/bfu/hotkey.c @@ -186,7 +186,7 @@ check_hotkeys_common(struct menu *menu, term_event_char_T hotkey, struct termina found = (unicode_fold_label_case(items_hotkey) == key); #else found = (toupper(*text) == key); -#endif +#endif if (found) { menu->selected = i; diff --git a/src/intl/charsets.c b/src/intl/charsets.c index 059dfff7..0892e265 100644 --- a/src/intl/charsets.c +++ b/src/intl/charsets.c @@ -46,7 +46,7 @@ struct table_entry { struct codepage_desc { unsigned char *name; unsigned char *const *aliases; - + /* The Unicode mappings of codepage bytes 0x80...0xFF. * (0x00...0x7F are assumed to be ASCII in all codepages.) * Because all current values fit in 16 bits, we store them as @@ -56,7 +56,7 @@ struct codepage_desc { * appropriate. (U+FFFF is reserved and will never be * assigned as a character.) */ const uint16_t *highhalf; - + /* If some byte in the codepage corresponds to multiple Unicode * characters, then the preferred character is in @highhalf * above, and the rest are listed here in @extra. This table @@ -661,7 +661,7 @@ static unicode_val_T cp2u_shared(const struct codepage_desc *from, unsigned char c) { unicode_val_T u = from->highhalf[c - 0x80]; - + if (u == 0xFFFF) u = UCS_REPLACEMENT_CHARACTER; return u; }