From de8e3bb7b6fedc0554cee20834001dd4a739cd88 Mon Sep 17 00:00:00 2001 From: Nick Hanley Date: Wed, 16 Nov 2022 13:28:50 -0500 Subject: fix miscellaneous spelling mistakes --- vis-core.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'vis-core.h') diff --git a/vis-core.h b/vis-core.h index 19cf73d..ef04f1b 100644 --- a/vis-core.h +++ b/vis-core.h @@ -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 */ -- cgit v1.2.3