From 617c27bf4107c769457c10cee344c8e51ac3cadc Mon Sep 17 00:00:00 2001 From: sonora Date: Wed, 13 Jun 2012 09:17:07 +0200 Subject: [PATCH] try fix Issue 1066 --- Osmand-kernel/osmand/src/mapObjects.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Osmand-kernel/osmand/src/mapObjects.h b/Osmand-kernel/osmand/src/mapObjects.h index b8c1fb7a5d..280698e930 100644 --- a/Osmand-kernel/osmand/src/mapObjects.h +++ b/Osmand-kernel/osmand/src/mapObjects.h @@ -64,6 +64,8 @@ public: if(it->second.length() > 0) { if(it->second[0] == '-'){ return -1; + } else if (it->second[0] == '0'){ + return 0; } else { return 1; }