summaryrefslogtreecommitdiff
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 07dbda85..c9b30ace 100644
--- a/lapi.c
+++ b/lapi.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lapi.c,v 2.109 2010/01/08 15:16:56 roberto Exp roberto $ 2** $Id: lapi.c,v 2.110 2010/01/11 17:38:30 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*/
@@ -255,7 +255,7 @@ LUA_API int lua_type (lua_State *L, int idx) {
255 255
256LUA_API const char *lua_typename (lua_State *L, int t) { 256LUA_API const char *lua_typename (lua_State *L, int t) {
257 UNUSED(L); 257 UNUSED(L);
258 return (t == LUA_TNONE) ? "no value" : luaT_typenames[t]; 258 return typename(t);
259} 259}
260 260
261 261