1
0
mirror of https://github.com/rkd77/elinks.git synced 2024-09-30 03:26:23 -04: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:
Kalle Olavi Niemitalo 2006-08-13 23:41:48 +03:00 committed by Kalle Olavi Niemitalo
parent b6447ae26b
commit 85d4c5679c

View File

@ -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)