diff options
author | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-07 12:33:17 +0000 |
---|---|---|
committer | akashihi <akashihi@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-07 12:33:17 +0000 |
commit | 7ae207c710b2d14269be4d881a8cccd9da24269d (patch) | |
tree | 8f1346c32f4f8f3fbbfcbc52ab66b3ebcb0b42a1 | |
parent | 9f41b9557a30cb3e57816944bbcfca6b5873bb92 (diff) | |
download | navit-svn-7ae207c710b2d14269be4d881a8cccd9da24269d.tar.gz |
Fix:core:Replaced " with \' so it is now possible to specify
string arguments for functions in navit.xml
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit/navit@3137 ffa7fe5e-494d-0410-b361-a75ebd5db220
-rw-r--r-- | command.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |