mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-22 08:00:07 +00:00
Merge pull request #679 from nulltoken/fix/git__isspace
util: Fix git__isspace() implementation
This commit is contained in:
commit
075d6e7dd7
@ -206,7 +206,7 @@ GIT_INLINE(bool) git__isalpha(int c)
|
||||
|
||||
GIT_INLINE(bool) git__isspace(int c)
|
||||
{
|
||||
return (c == ' ' || c == '\t' || c == '\n' || c == '\12');
|
||||
return (c == ' ' || c == '\t' || c == '\n' || c == '\f' || c == '\r' || c == '\v');
|
||||
}
|
||||
|
||||
#endif /* INCLUDE_util_h__ */
|
||||
|
Loading…
Reference in New Issue
Block a user