aboutsummaryrefslogtreecommitdiff
path: root/text-objects.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-04-06 22:01:18 +0200
committerMarc André Tanner <mat@brain-dump.org>2016-04-06 22:01:18 +0200
commit66fd883b71cc592880f263f7aea67ce71f1bd186 (patch)
tree87621be2d885607127da6aaf92967e457301fd06 /text-objects.c
parent329f18b8260f5d589b49678f41595fbff5f7d30a (diff)
downloadvis-66fd883b71cc592880f263f7aea67ce71f1bd186.tar.gz
vis-66fd883b71cc592880f263f7aea67ce71f1bd186.tar.xz
text-object: fixup last commit, add accidentally missed hunk
Diffstat (limited to 'text-objects.c')
-rw-r--r--text-objects.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/text-objects.c b/text-objects.c
index 010f1df..82fa36f 100644
--- a/text-objects.c
+++ b/text-objects.c
@@ -196,6 +196,7 @@ Filerange text_object_function(Text *txt, size_t pos) {
Filerange r = object_function(txt, pos);
if (!text_range_valid(&r))
return r;
+ r.end++;
return text_range_linewise(txt, &r);
}