We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 0730906 + 104add8 commit 3490838Copy full SHA for 3490838
diff.c
@@ -892,7 +892,7 @@ static void fill_es_indent_data(struct emitted_diff_symbol *es)
892
893
/* skip any \v \f \r at start of indentation */
894
while (s[off] == '\f' || s[off] == '\v' ||
895
- (s[off] == '\r' && off < len - 1))
+ (off < len - 1 && s[off] == '\r'))
896
off++;
897
898
/* calculate the visual width of indentation */
0 commit comments