Skip to content

Commit

Permalink
Rename action to SEL_RMNOTRASH
Browse files Browse the repository at this point in the history
  • Loading branch information
62832 committed Feb 4, 2024
1 parent bdf8a2f commit ef73cfc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions src/nnn.c
Original file line number Diff line number Diff line change
Expand Up @@ -2702,7 +2702,7 @@ static bool cpmvrm_selection(enum action sel, char *path)
return FALSE;
}
break;
default: /* SEL_RM, SEL_RMONLY */
default: /* SEL_RM, SEL_RMNOTRASH */
if (!rmmulstr(g_buf, sel == SEL_RM)) {
printmsg(messages[MSG_CANCEL]);
return FALSE;
Expand Down Expand Up @@ -7652,9 +7652,9 @@ static bool browse(char *ipath, const char *session, int pkey)
case SEL_MV: // fallthrough
case SEL_CPMVAS: // fallthrough
case SEL_RM: // fallthrough
case SEL_RMONLY:
case SEL_RMNOTRASH:
{
if (sel == SEL_RM || sel == SEL_RMONLY) {
if (sel == SEL_RM || sel == SEL_RMNOTRASH) {
r = get_cur_or_sel();
if (!r) {
statusbar(path);
Expand Down
2 changes: 1 addition & 1 deletion src/nnn.h
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ enum action {
SEL_MV,
SEL_CPMVAS,
SEL_RM,
SEL_RMONLY,
SEL_RMNOTRASH,
SEL_OPENWITH,
SEL_NEW,
SEL_RENAME,
Expand Down

0 comments on commit ef73cfc

Please sign in to comment.