mirror of
https://github.com/rkd77/elinks.git
synced 2024-11-04 08:17:17 -05:00
UTF-8 doc: unicode_fold_label_case() may be called for any Unicode character.
It cannot be restricted just to characters that have passed check_kbd_label_key(), because hotkeys in strings received from gettext must also be processed with it, and there we don't have a struct term_event for check_kbd_label_key().
This commit is contained in:
parent
b6447ae26b
commit
85d4c5679c
@ -408,8 +408,7 @@ unicode_to_cell(unicode_val_T c)
|
||||
}
|
||||
|
||||
/* Fold the case of a Unicode character, so that hotkeys in labels can
|
||||
* be compared case-insensitively. This should be called only if
|
||||
* check_kbd_label_key(c) is true. It is unspecified whether the
|
||||
* be compared case-insensitively. It is unspecified whether the
|
||||
* result will be in upper or lower case. */
|
||||
unicode_val_T
|
||||
unicode_fold_label_case(unicode_val_T c)
|
||||
|
Loading…
Reference in New Issue
Block a user