diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-01-05 21:37:39 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2009-01-05 21:37:39 +0000 |
commit | 0f29c5685b23fd4783a1427fa1aa868f903e9379 (patch) | |
tree | 02131bce24219326eaae8228211b6de835803212 /navit/map | |
parent | acc5c36a1a42f81f871eb9169d38b6a188174306 (diff) | |
download | navit-0f29c5685b23fd4783a1427fa1aa868f903e9379.tar.gz |
Fix:map_textfile:Fixed wrong usage of g_strdup_printf
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@1900 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/map')
-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'; |