Skip to content

Commit 4ae88a2

Browse files
committed
Fix value_stringIsInt()
1 parent 49a44ed commit 4ae88a2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scratch/value_functions_p.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -313,7 +313,7 @@ extern "C"
313313
const char *p = s;
314314

315315
while (p < s + n) {
316-
if (*s == '.' || *s == 'e' || *s == 'E')
316+
if (*p == '.' || *p == 'e' || *p == 'E')
317317
return false;
318318

319319
p++;

0 commit comments

Comments
 (0)