From f92bbdcb37a7d9b44c407c644c88ba47e1c85029 Mon Sep 17 00:00:00 2001 From: martin-s Date: Fri, 15 Feb 2008 11:05:48 +0000 Subject: [PATCH] Fix:Core:Don't do any conversion if the map is already in utf-8 git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@872 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- navit/src/map.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/navit/src/map.c b/navit/src/map.c index bb27241..a5198df 100644 --- a/navit/src/map.c +++ b/navit/src/map.c @@ -76,7 +76,7 @@ map_set_active(struct map *this_, int active) int map_requires_conversion(struct map *this_) { - return (this_->meth.charset != NULL); + return (this_->meth.charset != NULL && strcmp(this_->meth.charset, "utf-8")); } char * -- 2.7.4