use lj_char_isspace

This commit is contained in:
Alug committed 2025-02-21 22:31:32 +01:00
1 parent 93b3926008
commit d0890c45e2
1 file changed
+1 -1
+1 -1
View File
@@ -497,7 +497,7 @@ StrScanFmt lj_strscan_scan(const uint8_t *p, MSize len, TValue *o,
#if LJ_INTONLY
/* Skip trailing spaces */
while (p < pe && *p == ' ') ++p;
while (lj_char_isspace(*p)) p++;
if (*p || p < pe)
return STRSCAN_ERROR;