mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
achown: use Space key to invert current permission flag.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
fe63828b8b
commit
aa36eb38ce
@ -401,6 +401,11 @@ perm_button_callback (Widget * w, Widget * sender, widget_msg_t msg, int parm, v
|
||||
|
||||
case 'r':
|
||||
b->hotpos = i;
|
||||
/* fallthrough */
|
||||
|
||||
case ' ':
|
||||
i = b->hotpos;
|
||||
|
||||
flag_pos = f_pos * 3 + i;
|
||||
if (b->text.start[flag_pos % 3] == '-')
|
||||
ch_flags[flag_pos] = '+';
|
||||
|
Loading…
Reference in New Issue
Block a user