diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-11-07 09:10:09 +0100 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-11-07 12:16:34 +0100 |
| commit | 70a82653363ef22fd000b0af14656251deed3448 (patch) | |
| tree | 59f13efe44465ee2eae69dcb5fddc8575f273994 /vis-modes.c | |
| parent | 26b56bc3090e9ad6ffd71f216a53805c5e894807 (diff) | |
| download | vis-70a82653363ef22fd000b0af14656251deed3448.tar.gz vis-70a82653363ef22fd000b0af14656251deed3448.tar.xz | |
vis: prefix enum VisOperator values with VIS_
Diffstat (limited to 'vis-modes.c')
| -rw-r--r-- | vis-modes.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/vis-modes.c b/vis-modes.c index b53aeb7..42c9d8a 100644 --- a/vis-modes.c +++ b/vis-modes.c @@ -114,7 +114,7 @@ static void vis_mode_insert_enter(Vis *vis, Mode *old) { macro_operator_record(vis); action_reset(&vis->action_prev); vis->action_prev.macro = vis->macro_operator; - vis->action_prev.op = &ops[OP_INSERT]; + vis->action_prev.op = &ops[VIS_OP_INSERT]; } } @@ -138,7 +138,7 @@ static void vis_mode_replace_enter(Vis *vis, Mode *old) { macro_operator_record(vis); action_reset(&vis->action_prev); vis->action_prev.macro = vis->macro_operator; - vis->action_prev.op = &ops[OP_REPLACE]; + vis->action_prev.op = &ops[VIS_OP_REPLACE]; } } |
