aboutsummaryrefslogtreecommitdiffstats
path: root/src/argparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/argparser.c')
-rw-r--r--src/argparser.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/argparser.c b/src/argparser.c
index 13ab1b7..9631dfe 100644
--- a/src/argparser.c
+++ b/src/argparser.c
@@ -1480,6 +1480,7 @@ static void* map_get(args_Map* map, char* key)
at = (void**)*(at + b);
else
return null;
+ key++;
}
return *(at + 16);
}
@@ -1518,6 +1519,7 @@ static void map_put(args_Map* map, char* key, void* value)
*(at + i) = null;
new = true;
}
+ key++;
}
*(at + 16) = value;
if (new)