From d2e340f467a46017fa3526074c1756124e569880 Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Fri, 9 Feb 2001 18:22:29 -0200 Subject: string pointers are always fully aligned --- lfunc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'lfunc.c') diff --git a/lfunc.c b/lfunc.c index 0a145c67..e42bb64e 100644 --- a/lfunc.c +++ b/lfunc.c @@ -1,5 +1,5 @@ /* -** $Id: lfunc.c,v 1.38 2001/01/29 19:34:02 roberto Exp roberto $ +** $Id: lfunc.c,v 1.39 2001/02/01 17:40:48 roberto Exp roberto $ ** Auxiliary functions to manipulate prototypes and closures ** See Copyright Notice in lua.h */ @@ -79,7 +79,7 @@ const char *luaF_getlocalname (const Proto *f, int local_number, int pc) { if (pc < f->locvars[i].endpc) { /* is variable active? */ local_number--; if (local_number == 0) - return f->locvars[i].varname->str; + return getstr(f->locvars[i].varname); } } return NULL; /* not found */ -- cgit v1.2.3-55-g6feb