use lj_char_isspace

This commit is contained in:
Alug committed 2025-02-21 20:05:35 +01:00
1 parent 1ed3cf28b0
commit b96dc05a45
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;