summaryrefslogtreecommitdiff
path: root/navit/command.c
diff options
context:
space:
mode:
authorStefan Wildemann <metalstrolch@users.noreply.github.com>2020-05-28 23:40:06 +0200
committerGitHub <noreply@github.com>2020-05-28 23:40:06 +0200
commit3c6278d90542911b0a44ca1b0cc3faea7a27b334 (patch)
tree7e9ae279fd5dd826cd3a5d9854dccab786a68437 /navit/command.c
parent5c00b2b59e1aeae0e3fe5803700cb3efb06d5e33 (diff)
parent5673a3eab0c228fd38474ca58905038d69a950ab (diff)
downloadnavit-add_archaeological_site.tar.gz
Merge branch 'trunk' into add_archaeological_siteadd_archaeological_site
Diffstat (limited to 'navit/command.c')
-rw-r--r--navit/command.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/navit/command.c b/navit/command.c
index 032e0f887..cc498b1a7 100644
--- a/navit/command.c
+++ b/navit/command.c
@@ -1223,7 +1223,7 @@ static void command_evaluate_to(struct attr *attr, const char *expr, struct cont
}
enum attr_type command_evaluate_to_attr(struct attr *attr, char *expr, int *error, struct attr *ret) {
- struct result res={{0,},};
+ struct result res= {{0,},};
struct context ctx;
command_evaluate_to(attr, expr, &ctx, &res);
if (ctx.error)
@@ -1501,7 +1501,8 @@ void command_interpreter(struct attr *attr) {
}
#endif
-static void command_table_call(struct command_table *table, int count, void *data, char *command, struct attr **in, struct attr ***out, int *valid) {
+static void command_table_call(struct command_table *table, int count, void *data, char *command, struct attr **in,
+ struct attr ***out, int *valid) {
int i;
for (i = 0 ; i < count ; i++) {
if (!strcmp(command,table->command)) {