From bd1973b50ea9bb80355b4b2a49ff9181e90b716a Mon Sep 17 00:00:00 2001 From: Mattias Andrée Date: Tue, 2 Jul 2013 14:54:02 +0200 Subject: derp MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Mattias Andrée --- src/argparser.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') 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) -- cgit v1.2.3-70-g09d2