From 85d4c5679c85a9263c254f6e1bf5050ab4b96446 Mon Sep 17 00:00:00 2001 From: Kalle Olavi Niemitalo Date: Sun, 13 Aug 2006 23:41:48 +0300 Subject: [PATCH] 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(). --- src/intl/charsets.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/intl/charsets.c b/src/intl/charsets.c index 5809403e..1ece9502 100644 --- a/src/intl/charsets.c +++ b/src/intl/charsets.c @@ -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)