From c3e9ec0d1730fbe52a61575d35388de275c6da00 Mon Sep 17 00:00:00 2001 From: Denis Date: Fri, 26 Dec 2014 11:31:01 +0200 Subject: [PATCH] Hotfix to favorite name --- OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java b/OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java index a3b4e0400a..6506f20ab7 100644 --- a/OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java +++ b/OsmAnd/src/net/osmand/plus/views/FavoritesLayer.java @@ -166,8 +166,8 @@ public class FavoritesLayer extends OsmandMapLayer implements ContextMenuLayer. Class fcl = getFavoriteClass(); if(o!= null && fcl.isInstance(o)) { String desciption = ((FavouritePoint)o).getDescription() != null ? - ((FavouritePoint)o).getDescription() : ""; - return getObjName() + " : " + ((LocationPoint)o).getName(view.getContext()) + " " + ((FavouritePoint)o).getDescription() : ""; + return getObjName() + ": " + ((LocationPoint)o).getName(view.getContext()) + desciption; //$NON-NLS-1$ } return null;