From: akashihi Date: Wed, 7 Apr 2010 12:33:17 +0000 (+0000) Subject: Fix:core:Replaced " with \' so it is now possible to specify X-Git-Tag: navit-0.5.0.5194svn~2054 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8b00d677fb8eeb044be8778178821896945fa276;p=profile%2Fivi%2Fnavit.git Fix:core:Replaced " with \' so it is now possible to specify string arguments for functions in navit.xml git-svn-id: https://navit.svn.sourceforge.net/svnroot/navit/trunk@3137 ffa7fe5e-494d-0410-b361-a75ebd5db220 --- diff --git a/navit/navit/command.c b/navit/navit/command.c index 7767f0a..fe3fbbd 100644 --- a/navit/navit/command.c +++ b/navit/navit/command.c @@ -309,10 +309,10 @@ eval_value(struct context *ctx, struct result *res) { ctx->expr=op; return; } - if (op[0] == '"') { + if (op[0] == '\'') { do { op++; - } while (op[0] != '"'); + } while (op[0] != '\''); res->attr.type=attr_type_string_begin; len=op-ctx->expr-1; res->attr.u.str=g_malloc(len+1);