diff options
author | Mattias Andrée <maandree@operamail.com> | 2013-07-02 14:54:02 +0200 |
---|---|---|
committer | Mattias Andrée <maandree@operamail.com> | 2013-07-02 14:54:02 +0200 |
commit | bd1973b50ea9bb80355b4b2a49ff9181e90b716a (patch) | |
tree | 1d94e5c6eb5fb5c9c8e56d076e23eb5bc1e17e71 /src/argparser.c | |
parent | misc fix (diff) | |
download | argparser-bd1973b50ea9bb80355b4b2a49ff9181e90b716a.tar.gz argparser-bd1973b50ea9bb80355b4b2a49ff9181e90b716a.tar.bz2 argparser-bd1973b50ea9bb80355b4b2a49ff9181e90b716a.tar.xz |
derp
Signed-off-by: Mattias Andrée <maandree@operamail.com>
Diffstat (limited to 'src/argparser.c')
-rw-r--r-- | src/argparser.c | 2 |
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) |