summaryrefslogtreecommitdiff
path: root/text-motions.c
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2018-03-14 10:52:10 +0100
committerMarc André Tanner <mat@brain-dump.org>2018-03-14 10:52:10 +0100
commit8c5bb848ce1d2ec20392a63afc9168605f9952c9 (patch)
tree2a94030762048d9b206827afb869bbaf74126cff /text-motions.c
parentc0ae496520c9a4c975cf7268e0d4457f4b84acd3 (diff)
parent67a8de28cdc9496d5655b1a9c1bf4794004ca9f0 (diff)
Merge branch 'paranthese-typo' of https://github.com/Two-Finger/vis
Diffstat (limited to 'text-motions.c')
-rw-r--r--text-motions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/text-motions.c b/text-motions.c
index 68f43b5..ad92e57 100644
--- a/text-motions.c
+++ b/text-motions.c
@@ -515,12 +515,12 @@ size_t text_block_end(Text *txt, size_t pos) {
}
size_t text_parenthese_start(Text *txt, size_t pos) {
- Filerange r = text_object_paranthese(txt, pos-1);
+ Filerange r = text_object_parenthesis(txt, pos-1);
return text_range_valid(&r) ? r.start-1 : pos;
}
size_t text_parenthese_end(Text *txt, size_t pos) {
- Filerange r = text_object_paranthese(txt, pos+1);
+ Filerange r = text_object_parenthesis(txt, pos+1);
return text_range_valid(&r) ? r.end : pos;
}