correct syntax

This commit is contained in:
sonora 2013-08-28 11:13:22 +02:00
parent bb9d8c912f
commit 2272251e48

View file

@ -438,7 +438,7 @@ public class VoiceRouter {
if(pn != null) {
pn = pn.replace('-', ' ');
pn = pn.replace(':', ' ');
if (AbstractPrologCommandPlayer.getLanguage != "de"){
if (!AbstractPrologCommandPlayer.getLanguage().equals("de")){
pn = pn.replace("\u00df", "ss"); // helps non-German tts voices to pronounce German Strasse (=street)
}
}