aboutsummaryrefslogtreecommitdiff
path: root/lauxlib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lauxlib.c')
-rw-r--r--lauxlib.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lauxlib.c b/lauxlib.c
index 7cf90cb7..af44418a 100644
--- a/lauxlib.c
+++ b/lauxlib.c
@@ -874,7 +874,7 @@ LUALIB_API int luaL_loadbufferx (lua_State *L, const char *buff, size_t size,
874 874
875 875
876LUALIB_API int luaL_loadstring (lua_State *L, const char *s) { 876LUALIB_API int luaL_loadstring (lua_State *L, const char *s) {
877 return luaL_loadbuffer(L, s, strlen(s), s); 877 return luaL_loadbufferx(L, s, strlen(s), s, "t");
878} 878}
879 879
880/* }====================================================== */ 880/* }====================================================== */