diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2018-03-14 10:52:10 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2018-03-14 10:52:10 +0100 |
| commit | 8c5bb848ce1d2ec20392a63afc9168605f9952c9 (patch) | |
| tree | 2a94030762048d9b206827afb869bbaf74126cff /text-motions.c | |
| parent | c0ae496520c9a4c975cf7268e0d4457f4b84acd3 (diff) | |
| parent | 67a8de28cdc9496d5655b1a9c1bf4794004ca9f0 (diff) | |
Merge branch 'paranthese-typo' of https://github.com/Two-Finger/vis
Diffstat (limited to 'text-motions.c')
| -rw-r--r-- | text-motions.c | 4 |
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; } |
