mirror of
https://github.com/rkd77/elinks.git
synced 2025-02-02 15:09:23 -05:00
Trim some trailing whitespaces.
This commit is contained in:
parent
0b58b99d30
commit
e86e1d0fa3
@ -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;
|
||||
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user