]> git.baikalelectronics.ru Git - kernel.git/commit
speakup: Fix bogus caps on speaking unicode characters
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 14 Mar 2017 19:56:21 +0000 (20:56 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 16 Mar 2017 02:14:14 +0000 (11:14 +0900)
commit97cf73c3244cba88469c7fc88f2e38a4b519596e
treec27e3b32a2d3bff6d57cd6f8c678c05fb47fe699
parent63e5ee6d3ee31070cdecfa5e49dd62e55b9a9925
speakup: Fix bogus caps on speaking unicode characters

commit 968bf892eff5 ("speakup: Support spelling unicode characters")
mistakenly passed unicode characters to IS_CHAR(), which only
supports latin1.  Let's assume non-latin1 is lower case, like is done
in spell_word().

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Reviewed-by: Chris Brannon <chris@the-brannons.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c