diff options
Diffstat (limited to 'src/util.h')
-rw-r--r-- | src/util.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.h b/src/util.h index bd76a263e..6c929cf0a 100644 --- a/src/util.h +++ b/src/util.h @@ -105,7 +105,7 @@ extern void git__strtolower(char *str); GIT_INLINE(const char *) git__next_line(const char *s) { while (*s && *s != '\n') s++; - while (*s == '\n') s++; + while (*s == '\n' || *s == '\r') s++; return s; } |