aboutsummaryrefslogtreecommitdiff
path: root/src/diff.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/diff.c')
-rw-r--r--src/diff.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/diff.c b/src/diff.c
index bdf78dd708..0764715685 100644
--- a/src/diff.c
+++ b/src/diff.c
@@ -1743,7 +1743,7 @@ void diff_set_topline(win_T *fromwin, win_T *towin)
if (dp->df_count[toidx] == dp->df_count[fromidx]) {
// same number of lines: use same filler count
towin->w_topfill = fromwin->w_topfill;
- } else if (dp->df_count[toidx] > dp->df_count[fromidx]) {
+ } else if (dp->df_count[toidx] > dp->df_count[fromidx]) {
if (lnum == dp->df_lnum[fromidx] + dp->df_count[fromidx]) {
// more lines in towin and fromwin doesn't show diff
// lines, only filler lines
@@ -1869,7 +1869,8 @@ int diffopt_changed(void)
/// Return TRUE if 'diffopt' contains "horizontal".
///
/// @return TRUE if 'diffopt' contains "horizontal"
-int diffopt_horizontal(void) {
+int diffopt_horizontal(void)
+{
return (diff_flags & DIFF_HORIZONTAL) != 0;
}