Fix another possibly broken comparison.

pull/11/head
Nolan Darilek 2 years ago
parent c65c0022d8
commit 45255a8049
  1. 2
      src/backends/av_foundation.rs

@ -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…
Cancel
Save