From 80fb317eeba4b71baa77d78cb80598286d04265b Mon Sep 17 00:00:00 2001 From: James Turner Date: Sun, 20 Oct 2013 09:43:48 +0100 Subject: [PATCH] Don't speak < or > when using Festival. Patch from HomerJ, avoid sending some additional special characters to Festival, which renders then as 'greater than' / 'less than'. --- src/Sound/voice.cxx | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/Sound/voice.cxx b/src/Sound/voice.cxx index c1dec0b0e..2143ba78f 100644 --- a/src/Sound/voice.cxx +++ b/src/Sound/voice.cxx @@ -261,6 +261,8 @@ void FGVoiceMgr::FGVoice::FGVoiceListener::valueChanged(SGPropertyNode *node) m += ' '; // don't say "vertical bar" or "underscore" else if (c == '&') m += " and "; + else if (c == '>' || c == '<') + m += ' '; // don't say "greater than" or "less than" either else if (c == '{') { while (i < s.size()) if (s[++i] == '|') -- 2.39.5