diff options
Diffstat (limited to 'lauxlib.c')
| -rw-r--r-- | lauxlib.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -874,7 +874,7 @@ LUALIB_API int luaL_loadbufferx (lua_State *L, const char *buff, size_t size, | |||
| 874 | 874 | ||
| 875 | 875 | ||
| 876 | LUALIB_API int luaL_loadstring (lua_State *L, const char *s) { | 876 | LUALIB_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 | /* }====================================================== */ |
