diff options
author | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-10 18:48:52 +0000 |
---|---|---|
committer | martin-s <martin-s@ffa7fe5e-494d-0410-b361-a75ebd5db220> | 2010-04-10 18:48:52 +0000 |
commit | 4e79418404fb678ddf71b1098d33b27dfce94c21 (patch) | |
tree | 6f6bd3c4e0c65071fd14baecec981fab41b80f59 /navit/command.c | |
parent | b07647d4c8c2cbb83b68e9d53f985941c7561dce (diff) | |
download | navit-svn-4e79418404fb678ddf71b1098d33b27dfce94c21.tar.gz |
Fix:Core:Reverted wrong changes
git-svn-id: http://svn.code.sf.net/p/navit/code/trunk/navit@3149 ffa7fe5e-494d-0410-b361-a75ebd5db220
Diffstat (limited to 'navit/command.c')
-rw-r--r-- | navit/command.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/command.c b/navit/command.c index bfaa71d9..7767f0ae 100644 --- a/navit/command.c +++ b/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); @@ -877,7 +877,7 @@ command_table_call(struct command_table *table, int count, void *data, char *com { int i; for (i = 0 ; i < count ; i++) { - if (!strcmp(command,table->command) || !strcmp("*",table->command)) { + if (!strcmp(command,table->command)) { if (valid) *valid=1; table->func(data, command, in, out); |