aboutsummaryrefslogtreecommitdiff
path: root/vis-core.h
diff options
context:
space:
mode:
authorMarc André Tanner <mat@brain-dump.org>2016-01-14 21:10:41 +0100
committerMarc André Tanner <mat@brain-dump.org>2016-01-14 21:10:41 +0100
commit9f651d8e50599fcd8726da844a6a844dbc08cba3 (patch)
treeaaa43e6fe48729ff93d7eecc21de3ab5a8e9e131 /vis-core.h
parent062f8f508372f46d0ea10358e989a0713de28c28 (diff)
downloadvis-9f651d8e50599fcd8726da844a6a844dbc08cba3.tar.gz
vis-9f651d8e50599fcd8726da844a6a844dbc08cba3.tar.xz
vis: s/VIS_MODE_LAST/VIS_MODE_INVALID/g
Diffstat (limited to 'vis-core.h')
-rw-r--r--vis-core.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/vis-core.h b/vis-core.h
index 069009b..b00ec90 100644
--- a/vis-core.h
+++ b/vis-core.h
@@ -120,7 +120,7 @@ struct Win {
View *view; /* currently displayed part of underlying text */
RingBuffer *jumplist; /* LRU jump management */
ChangeList changelist; /* state for iterating through least recently changes */
- Mode modes[VIS_MODE_LAST]; /* overlay mods used for per window key bindings */
+ Mode modes[VIS_MODE_INVALID]; /* overlay mods used for per window key bindings */
Win *parent; /* window which was active when showing the command prompt */
Mode *parent_mode; /* mode which was active when showing the command prompt */
Win *prev, *next; /* neighbouring windows */
@@ -165,7 +165,7 @@ struct Vis {
/** stuff used by multiple of the vis-* files */
/* TODO: make part of Vis struct? enable dynamic modes? */
-extern Mode vis_modes[VIS_MODE_LAST];
+extern Mode vis_modes[VIS_MODE_INVALID];
extern Movement moves[VIS_MOVE_INVALID];