Fixed minor typo from merge of #1854 for windows builds.

This commit is contained in:
Adam Harrison 2024-10-22 11:33:41 -04:00
parent a5d466d6cf
commit 56b7d8abef
1 changed files with 1 additions and 1 deletions

View File

@ -369,7 +369,7 @@ static int process_start(lua_State* L) {
lxl_arena *A = lxl_arena_init(L); lxl_arena *A = lxl_arena_init(L);
// copy command line arguments // copy command line arguments
#ifdef _WIN32 #ifdef _WIN32
if ( !(commandline = utfconv_fromutf8(&A, luaL_checkstring(L, 1))) ) if ( !(commandline = utfconv_fromutf8(A, luaL_checkstring(L, 1))) )
return luaL_error(L, "%s", UTFCONV_ERROR_INVALID_CONVERSION); return luaL_error(L, "%s", UTFCONV_ERROR_INVALID_CONVERSION);
#else #else
luaL_checktype(L, 1, LUA_TTABLE); luaL_checktype(L, 1, LUA_TTABLE);