diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2016-04-06 22:01:18 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2016-04-06 22:01:18 +0200 |
| commit | 66fd883b71cc592880f263f7aea67ce71f1bd186 (patch) | |
| tree | 87621be2d885607127da6aaf92967e457301fd06 | |
| parent | 329f18b8260f5d589b49678f41595fbff5f7d30a (diff) | |
| download | vis-66fd883b71cc592880f263f7aea67ce71f1bd186.tar.gz vis-66fd883b71cc592880f263f7aea67ce71f1bd186.tar.xz | |
text-object: fixup last commit, add accidentally missed hunk
| -rw-r--r-- | text-objects.c | 1 |
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); } |
