diff --git a/src/kits/tracker/Utilities.h b/src/kits/tracker/Utilities.h index a8cd8492e4..bbb654959d 100644 --- a/src/kits/tracker/Utilities.h +++ b/src/kits/tracker/Utilities.h @@ -212,9 +212,9 @@ FetchNaturalChunk(natural_chunk& chunk, const char* source) return pos; } - // skip leading zeros and spaces + // skip leading zeros and whitespace characters int32 skip = 0; - while (source[0] == '0' || source[0] == ' ') { + while (source[0] == '0' || isspace(source[0])) { source++; skip++; }