Update util.cpp

Correct "is_whitespace_or_nl": change 'r' to '\r'.
This commit is contained in:
Keith Spitz 2019-07-28 19:40:18 -06:00 committed by GitHub
parent da7ce65bb4
commit 952a24b45d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,7 +27,7 @@ const char STR_REVISION_RC [] PROGMEM = "rc";
inline bool is_whitespace_or_nl(char c)
{
return c == ' ' || c == '\t' || c == '\n' || c == 'r';
return c == ' ' || c == '\t' || c == '\n' || c == '\r';
}
inline bool is_whitespace_or_nl_or_eol(char c)