From 5171a1b026d86d28096f54c0408bc6ab2ba7b39a Mon Sep 17 00:00:00 2001 From: sonora Date: Wed, 28 Aug 2013 12:11:34 +0200 Subject: [PATCH] correct "de"-query --- OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java index b0d62b3ae6..8523f1523b 100644 --- a/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java +++ b/OsmAnd/src/net/osmand/plus/routing/VoiceRouter.java @@ -438,7 +438,7 @@ public class VoiceRouter { if(pn != null) { pn = pn.replace('-', ' '); pn = pn.replace(':', ' '); - if (!AbstractPrologCommandPlayer.getLanguage().equals("de")){ + if (player != null && "de".equals(player.getLanguage())){ pn = pn.replace("\u00df", "ss"); // helps non-German tts voices to pronounce German Strasse (=street) } }