From 66fd883b71cc592880f263f7aea67ce71f1bd186 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marc=20Andr=C3=A9=20Tanner?= Date: Wed, 6 Apr 2016 22:01:18 +0200 Subject: text-object: fixup last commit, add accidentally missed hunk --- text-objects.c | 1 + 1 file changed, 1 insertion(+) 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); } -- cgit v1.2.3