diff options
| author | Marc André Tanner <mat@brain-dump.org> | 2015-04-21 15:02:42 +0200 |
|---|---|---|
| committer | Marc André Tanner <mat@brain-dump.org> | 2015-04-21 15:02:42 +0200 |
| commit | e765721a9d2cafd0370d28ea9f3321a475528d54 (patch) | |
| tree | 69938a54dac809df883e16b07e8885dae5232e54 /vis.c | |
| parent | a04a82472ca826f7143ee2c404dd74c6b559976e (diff) | |
| download | vis-e765721a9d2cafd0370d28ea9f3321a475528d54.tar.gz vis-e765721a9d2cafd0370d28ea9f3321a475528d54.tar.xz | |
Make '.' respect count
Diffstat (limited to 'vis.c')
| -rw-r--r-- | vis.c | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -763,7 +763,10 @@ static void suspend(const Arg *arg) { } static void repeat(const Arg *arg) { + int count = vis->action.count; vis->action = vis->action_prev; + if (count) + vis->action.count = count; action_do(&vis->action); } |
