summaryrefslogtreecommitdiff
path: root/navit/command.c
diff options
context:
space:
mode:
authorStefan Wildemann <metalstrolch@users.noreply.github.com>2020-05-28 23:12:34 +0200
committerGitHub <noreply@github.com>2020-05-28 23:12:34 +0200
commitc8c70fa642db1de47a1f591791d8353824ddb0cf (patch)
treee901c557b49c3891143f483e261e307a7c3e4e30 /navit/command.c
parent64d8a3b7829164097da9da31b0031befc50d2f35 (diff)
parentaff19d0f140eea9545916687212378a810fa4ace (diff)
downloadnavit-gtk_texture.tar.gz
Merge branch 'trunk' into gtk_texturegtk_texture
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)) {