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 /vis-core.h | |
| parent | 8a420ecc4c1ed50111464ec66901bd983eaf2dbd (diff) | |
| download | vis-de8e3bb7b6fedc0554cee20834001dd4a739cd88.tar.gz vis-de8e3bb7b6fedc0554cee20834001dd4a739cd88.tar.xz | |
fix miscellaneous spelling mistakes
Diffstat (limited to 'vis-core.h')
| -rw-r--r-- | vis-core.h | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -83,7 +83,7 @@ typedef struct { /* Motion implementation, takes a cursor position and returns a CHARWISE = VIS_MOTIONTYPE_CHARWISE, /* scrolls window content until position is visible */ INCLUSIVE = 1 << 2, /* should new position be included in operator range? */ LINEWISE_INCLUSIVE = 1 << 3, /* inclusive, but only if motion is linewise? */ - IDEMPOTENT = 1 << 4, /* does the returned postion remain the same if called multiple times? */ + IDEMPOTENT = 1 << 4, /* does the returned position remain the same if called multiple times? */ JUMP = 1 << 5, /* should the resulting position of the motion be recorded in the jump list? */ COUNT_EXACT = 1 << 6, /* fail (keep initial position) if count can not be satisfied exactly */ } type; @@ -206,10 +206,10 @@ struct Vis { int nesting_level; /* parsing state to hold keep track of { } nesting level */ volatile bool running; /* exit main loop once this becomes false */ int exit_status; /* exit status when terminating main loop */ - volatile sig_atomic_t interrupted; /* abort command (SIGINT occured) */ + volatile sig_atomic_t interrupted; /* abort command (SIGINT occurred) */ volatile sig_atomic_t sigbus; /* one of the memory mapped regions became unavailable (SIGBUS) */ - volatile sig_atomic_t need_resize; /* need to resize UI (SIGWINCH occured) */ - volatile sig_atomic_t resume; /* need to resume UI (SIGCONT occured) */ + volatile sig_atomic_t need_resize; /* need to resize UI (SIGWINCH occurred) */ + volatile sig_atomic_t resume; /* need to resume UI (SIGCONT occurred) */ volatile sig_atomic_t terminate; /* need to terminate we were being killed by SIGTERM */ sigjmp_buf sigbus_jmpbuf; /* used to jump back to a known good state in the mainloop after (SIGBUS) */ Map *actions; /* registered editor actions / special keys commands */ |
