From: James Turner Date: Sat, 28 Apr 2012 22:08:05 +0000 (+0100) Subject: Strange, somehow missed this file in last commit. X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=35681e3adfaf61ee4b1f684352e53be47105eca5;p=simgear.git Strange, somehow missed this file in last commit. --- diff --git a/simgear/nasal/hash.c b/simgear/nasal/hash.c index bb7ce785..3679a0ca 100644 --- a/simgear/nasal/hash.c +++ b/simgear/nasal/hash.c @@ -186,11 +186,11 @@ static void tmpStr(naRef* out, struct naStr* str, const char* key) SETPTR(*out, str); } -int naMember_cget(naRef obj, const char* field, naRef* out) +int naMember_cget(naContext c, naRef obj, const char* field, naRef* out) { naRef key; struct naStr str; tmpStr(&key, &str, field); - return naMember_get(obj, key, out); + return naMember_get(c, obj, key, out); } naRef naHash_cget(naRef hash, char* key)