mirror of
https://github.com/ndarilek/tts-rs.git
synced 2024-10-09 21:09:38 +00:00
Fix another possibly broken comparison.
This commit is contained in:
parent
c65c0022d8
commit
45255a8049
|
@ -268,7 +268,7 @@ impl Backend for AvFoundation {
|
|||
fn is_speaking(&self) -> Result<bool, Error> {
|
||||
trace!("is_speaking()");
|
||||
let is_speaking: i8 = unsafe { msg_send![self.synth, isSpeaking] };
|
||||
Ok(is_speaking == 1)
|
||||
Ok(is_speaking != 0)
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user