From edb9c7f659b5d05db5d49dff71bf990cc4a7347b Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Wed, 15 Apr 2015 19:39:35 +0200 Subject: [PATCH] Fix bug --- OsmAnd/src/net/osmand/plus/render/RendererRegistry.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java b/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java index 56a1d1f7b2..2c7f300e95 100644 --- a/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java +++ b/OsmAnd/src/net/osmand/plus/render/RendererRegistry.java @@ -187,7 +187,7 @@ public class RendererRegistry { } public File getFileForInternalStyle(String name) { - if(internalRenderers.containsKey(name)) { + if(!internalRenderers.containsKey(name)) { return new File(app.getAppPath(IndexConstants.RENDERERS_DIR), "style.render.xml"); } File fl = new File(app.getAppPath(IndexConstants.RENDERERS_DIR), internalRenderers.get(name));