summaryrefslogtreecommitdiff
path: root/navit/command.c
diff options
context:
space:
mode:
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)) {