ref: 1b32bd5f0f96a9ac3e4de470388f66c1957d8f14
parent: dba77caa35d5397aecb22392ea7427557c665d6f
author: cinap_lenrek <[email protected]>
date: Sat Sep 7 10:50:17 EDT 2013
libaml: use FP->env to access method arguments instead of FP->arg in evalosi()
--- a/sys/src/libaml/aml.c
+++ b/sys/src/libaml/aml.c
@@ -2062,7 +2062,7 @@
char *s;
int i;
- s = deref(FP->arg[0]);
+ s = FP->env->arg[0];
if(s == nil || TAG(s) != 's')
return nil;
for(i = 0; i < nelem(w); i++)