aboutsummaryrefslogtreecommitdiff
path: root/text-motions.c
diff options
context:
space:
mode:
authorTwoFinger <Two-Finger@users.noreply.github.com>2018-01-27 18:44:29 +0200
committerTwoFinger <Two-Finger@users.noreply.github.com>2018-03-05 12:06:21 +0200
commit67a8de28cdc9496d5655b1a9c1bf4794004ca9f0 (patch)
treec8111d2f604697b4356ea079e4ee1ebaee17da2a /text-motions.c
parentfdb56b003c9e0a00ded2878b0c174a7780bb39b2 (diff)
downloadvis-67a8de28cdc9496d5655b1a9c1bf4794004ca9f0.tar.gz
vis-67a8de28cdc9496d5655b1a9c1bf4794004ca9f0.tar.xz
Fix a typo in identifiers
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;
}