aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lapi.c b/lapi.c
index 80144154..c078160a 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 1.247 2003/10/10 13:29:08 roberto Exp roberto $ 2** $Id: lapi.c,v 1.248 2003/10/20 12:25:23 roberto Exp roberto $
3** Lua API 3** Lua API
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -784,7 +784,7 @@ LUA_API int lua_dump (lua_State *L, lua_Chunkwriter writer, void *data) {
784 lua_lock(L); 784 lua_lock(L);
785 api_checknelems(L, 1); 785 api_checknelems(L, 1);
786 o = L->top - 1; 786 o = L->top - 1;
787 if (isLfunction(o) && clvalue(o)->l.nupvalues == 0) 787 if (isLfunction(o))
788 status = luaU_dump(L, clvalue(o)->l.p, writer, data, 0); 788 status = luaU_dump(L, clvalue(o)->l.p, writer, data, 0);
789 else 789 else
790 status = 0; 790 status = 0;