fix a typo

This commit is contained in:
Isaac0-dev 2025-02-10 07:54:46 +10:00
parent df58cc2799
commit 91f42e84dc

View file

@ -518,7 +518,7 @@ static int smlua_cpointer_get(lua_State* L) {
lua_pushinteger(L, (u64)(intptr_t) cptr->pointer);
return 1;
}
if (strcmp(key, "_lot") == 0) {
if (strcmp(key, "_lvt") == 0) {
lua_pushinteger(L, cptr->lvt);
return 1;
}