aboutsummaryrefslogtreecommitdiff
path: root/lapi.c
diff options
context:
space:
mode:
Diffstat (limited to 'lapi.c')
-rw-r--r--lapi.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/lapi.c b/lapi.c
index 9212b7d1..f82b00dc 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.24 2005/01/04 15:55:12 roberto Exp roberto $ 2** $Id: lapi.c,v 2.25 2005/01/07 19:53:32 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*/
@@ -872,9 +872,9 @@ LUA_API int lua_gc (lua_State *L, int what, int data) {
872 g->gcpace = data; 872 g->gcpace = data;
873 break; 873 break;
874 } 874 }
875 case LUA_GCSETINCMODE: { 875 case LUA_GCSETSTEPMUL: {
876 res = g->incgc; 876 res = g->gcstepmul;
877 g->incgc = data; 877 g->gcstepmul = data;
878 break; 878 break;
879 } 879 }
880 default: res = -1; /* invalid option */ 880 default: res = -1; /* invalid option */