aboutsummaryrefslogtreecommitdiff
path: root/text-motions.c
diff options
context:
space:
mode:
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 d44e623..ee02043 100644
--- a/text-motions.c
+++ b/text-motions.c
@@ -513,12 +513,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;
}