summaryrefslogtreecommitdiff
path: root/src/line_modification.hh
diff options
context:
space:
mode:
Diffstat (limited to 'src/line_modification.hh')
-rw-r--r--src/line_modification.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/line_modification.hh b/src/line_modification.hh
index d56a65d4..7c21503c 100644
--- a/src/line_modification.hh
+++ b/src/line_modification.hh
@@ -14,8 +14,8 @@ struct LineModification
{
LineCount old_line; // line position in the old buffer
LineCount new_line; // new line position
- LineCount num_removed; // number of lines removed after this one
- LineCount num_added; // number of lines added after this one
+ LineCount num_removed; // number of lines removed (including this one)
+ LineCount num_added; // number of lines added (including this one)
LineCount diff() const { return new_line - old_line + num_added - num_removed; }
};