From 0ad70b4eaa35d57867f20c631f60841fde824e20 Mon Sep 17 00:00:00 2001 From: William Hubbs Date: Sat, 20 Jun 2009 19:14:42 -0500 Subject: [PATCH] Revert "fixed stop_speech issue" This reverts commit 1c440e5a42ef2606c0330f816b00172ab309505c. --- synth.c | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) diff --git a/synth.c b/synth.c index 8d5c076..f7f13c3 100644 --- a/synth.c +++ b/synth.c @@ -114,12 +114,8 @@ espeak_ERROR set_volume(struct synth_t * s, int vol, enum adjust_t adj) espeak_ERROR stop_speech(void) { - espeak_ERROR rc; - - rc = espeak_Cancel(); - if (rc == EE_OK) - stopped = 1; - return rc; + stopped = 1; + return (espeak_Cancel()); } espeak_ERROR speak_text(struct synth_t * s)