staging: speakup: use true/false instead of 1/0
Signed-off-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
7ca399f1ef
commit
d1598d4e3b
|
@ -80,7 +80,7 @@ void synth_buffer_add(u16 ch)
|
|||
/* We have written something to the speech synthesis, so we are not
|
||||
* paused any more.
|
||||
*/
|
||||
spk_paused = 0;
|
||||
spk_paused = false;
|
||||
}
|
||||
|
||||
u16 synth_buffer_getc(void)
|
||||
|
|
|
@ -1786,7 +1786,7 @@ static void speakup_con_update(struct vc_data *vc)
|
|||
speakup_date(vc);
|
||||
if (vc->vc_mode == KD_GRAPHICS && !spk_paused && spk_str_pause[0]) {
|
||||
synth_printf("%s", spk_str_pause);
|
||||
spk_paused = 1;
|
||||
spk_paused = true;
|
||||
}
|
||||
spin_unlock_irqrestore(&speakup_info.spinlock, flags);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue