From a9e2dc6c13325eeddafd1569bb0183b3c3967ee0 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 10 Jan 2016 18:54:36 +0100 Subject: [PATCH] fix line --- OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java index c6e21c4fc7..79340d7d84 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/WaypointHelper.java @@ -684,7 +684,7 @@ public class WaypointHelper { if (((TargetPoint) point).start) { ApplicationMode appMode = app.getSettings().getApplicationMode(); //return uiCtx.getResources().getDrawable(appMode.getResourceLocationDay()); - if (app.getTargetPointsHelper().getTargets().getPointToStart() == null) { + if (app.getTargetPointsHelper().getPointToStart() == null) { return uiCtx.getResources().getDrawable(appMode.getResourceLocationDay()); } else { return iconsCache.getContentIcon(R.drawable.ic_action_marker_dark, !nightMode);