summaryrefslogtreecommitdiff
path: root/lbuffer.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbuffer.c')
-rw-r--r--lbuffer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbuffer.c b/lbuffer.c
index d5aa8c98..fc20ce1a 100644
--- a/lbuffer.c
+++ b/lbuffer.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbuffer.c,v 1.1 1997/12/23 19:24:36 roberto Exp roberto $ 2** $Id: lbuffer.c,v 1.2 1998/03/06 16:54:42 roberto Exp roberto $
3** Auxiliar functions for building Lua libraries 3** Auxiliar functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -22,7 +22,7 @@
22 22
23static void Openspace (int size) 23static void Openspace (int size)
24{ 24{
25 LState *l = L; /* to optimize */ 25 lua_State *l = L; /* to optimize */
26 int base = l->Mbuffbase-l->Mbuffer; 26 int base = l->Mbuffbase-l->Mbuffer;
27 l->Mbuffsize *= 2; 27 l->Mbuffsize *= 2;
28 if (l->Mbuffnext+size > l->Mbuffsize) /* still not big enough? */ 28 if (l->Mbuffnext+size > l->Mbuffsize) /* still not big enough? */