get logic operatrions right

This commit is contained in:
sonora 2013-08-28 21:13:16 +02:00
parent 889812409f
commit 918e2e530e

View file

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