diff options
| author | Nick Hanley <nicholasjhanley@gmail.com> | 2022-11-16 13:28:50 -0500 |
|---|---|---|
| committer | Felix Van der Jeugt <felix.vanderjeugt@posteo.net> | 2022-11-29 22:09:43 +0100 |
| commit | de8e3bb7b6fedc0554cee20834001dd4a739cd88 (patch) | |
| tree | ae49efb024ab687e7af52149b42df7be1d31192c /view.c | |
| parent | 8a420ecc4c1ed50111464ec66901bd983eaf2dbd (diff) | |
| download | vis-de8e3bb7b6fedc0554cee20834001dd4a739cd88.tar.gz vis-de8e3bb7b6fedc0554cee20834001dd4a739cd88.tar.xz | |
fix miscellaneous spelling mistakes
Diffstat (limited to 'view.c')
| -rw-r--r-- | view.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -103,7 +103,7 @@ static Cell cell_unused; /* move visible viewport n-lines up/down, redraws the view but does not change * cursor position which becomes invalid and should be corrected by calling - * view_cursor_to. the return value indicates wether the visible area changed. + * view_cursor_to. the return value indicates whether the visible area changed. */ static bool view_viewport_up(View *view, int n); static bool view_viewport_down(View *view, int n); @@ -316,7 +316,7 @@ bool view_coord_get(View *view, size_t pos, Line **retline, int *retrow, int *re return true; } -/* move the cursor to the character at pos bytes from the begining of the file. +/* move the cursor to the character at pos bytes from the beginning of the file. * if pos is not in the current viewport, redraw the view to make it visible */ void view_cursor_to(View *view, size_t pos) { view_cursors_to(view->selection, pos); |
