speakup: Fix spurious space pronunciation on spelling letters
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Tue, 21 Mar 2017 23:55:31 +0000 (00:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 23 Mar 2017 13:00:58 +0000 (14:00 +0100)
commite1f28c86a22d2c923bcc18abb22874482ce55951
tree594628e14482f3ad755ecf726cb6aebb4a956fcb
parentc831c583f8d93185928096b6f3e4735c013f1969
speakup: Fix spurious space pronunciation on spelling letters

This gathers emitting the caps start string, space, spelled letter
string, space, and caps stop string, into one printf, to avoid
sending to the synth a space character alone, which the synth would
then pronounce.

Similarly, emit space along control-letter and letter spelling.

Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org>
Tested-by: Zahari Yurukov <zahari.yurukov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/speakup/main.c