aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 3702e375..e6d83cd9 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lauxlib.c,v 1.282 2015/10/02 15:46:49 roberto Exp roberto $ 2** $Id: lauxlib.c,v 1.283 2015/10/06 16:10:22 roberto Exp roberto $
3** Auxiliary functions for building Lua libraries 3** Auxiliary functions for building Lua libraries
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -471,7 +471,7 @@ static void *newbox (lua_State *L, size_t newsize) {
471 box->bsize = 0; 471 box->bsize = 0;
472 if (luaL_newmetatable(L, "LUABOX")) { /* creating metatable? */ 472 if (luaL_newmetatable(L, "LUABOX")) { /* creating metatable? */
473 lua_pushcfunction(L, boxgc); 473 lua_pushcfunction(L, boxgc);
474 lua_setfield(L, -2, "__gc"); /* metatalbe.__gc = boxgc */ 474 lua_setfield(L, -2, "__gc"); /* metatable.__gc = boxgc */
475 } 475 }
476 lua_setmetatable(L, -2); 476 lua_setmetatable(L, -2);
477 return resizebox(L, -1, newsize); 477 return resizebox(L, -1, newsize);
@@ -653,7 +653,7 @@ static int errfile (lua_State *L, const char *what, int fnameindex) {
653 653
654 654
655static int skipBOM (LoadF *lf) { 655static int skipBOM (LoadF *lf) {
656 const char *p = "\xEF\xBB\xBF"; /* Utf8 BOM mark */ 656 const char *p = "\xEF\xBB\xBF"; /* UTF-8 BOM mark */
657 int c; 657 int c;
658 lf->n = 0; 658 lf->n = 0;
659 do { 659 do {