diff options
-rw-r--r-- | navit/map/textfile/textfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/navit/map/textfile/textfile.c b/navit/map/textfile/textfile.c index aa2fa010e..67d58582a 100644 --- a/navit/map/textfile/textfile.c +++ b/navit/map/textfile/textfile.c @@ -363,7 +363,7 @@ map_new_textfile(struct map_methods *meth, struct attr **attrs) if (! data) return NULL; dbg(1,"map_new_textfile %s\n", data->u.str); - wdata=g_strdup_printf(data->u.str); + wdata=g_strdup(data->u.str); len=strlen(wdata); if (len && wdata[len-1] == '|') { wdata[len-1]='\0'; |