OSDN Git Service

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)
commit0b4139ad5e654b53c593aa84eb6bf36eb6644512
treec27e3b32a2d3bff6d57cd6f8c678c05fb47fe699
parenta50ef3165489c74c7d7c9f7559d9bbb198dca154
speakup: Fix bogus caps on speaking unicode characters

commit 33590c185299 ("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