Merge pull request #2056 from BoCoKeith/patch-1

Correct bug in util.cpp is_whitespace_or_nl function.
This commit is contained in:
DRracer 2019-07-31 17:00:49 +02:00 committed by GitHub
commit e43e89421c
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)