diff --git a/sol/compatibility/5.1.0.h b/sol/compatibility/5.1.0.h index a90cd5fa..ce91e2be 100644 --- a/sol/compatibility/5.1.0.h +++ b/sol/compatibility/5.1.0.h @@ -162,7 +162,7 @@ inline int luaL_loadbufferx(lua_State* L, const char* buff, size_t size, const c kepler_lua_compat_get_string_view ls; ls.s = buff; ls.size = size; - return lua_load(L, getS, &ls, name, mode); + return lua_load(L, kepler_lua_compat_get_string, &ls, name, mode); } #endif /* Lua 5.1 */