diff options
-rw-r--r-- | lapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lapi.c,v 2.46 2005/07/31 17:12:32 roberto Exp roberto $ | 2 | ** $Id: lapi.c,v 2.47 2005/08/24 16:15:49 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 | */ |
@@ -875,7 +875,7 @@ LUA_API int lua_dump (lua_State *L, lua_Writer writer, void *data) { | |||
875 | if (isLfunction(o)) | 875 | if (isLfunction(o)) |
876 | status = luaU_dump(L, clvalue(o)->l.p, writer, data, 0); | 876 | status = luaU_dump(L, clvalue(o)->l.p, writer, data, 0); |
877 | else | 877 | else |
878 | status = 0; | 878 | status = 1; |
879 | lua_unlock(L); | 879 | lua_unlock(L); |
880 | return status; | 880 | return status; |
881 | } | 881 | } |