Remove redundant question

This commit is contained in:
Arun Prakash Jana 2020-01-14 01:10:53 +05:30
parent 69efec865a
commit 589065f9ab
No known key found for this signature in database
GPG Key ID: A75979F35C080412
1 changed files with 2 additions and 9 deletions

View File

@ -474,7 +474,6 @@ static char * const utils[] = {
#define MSG_BOOKMARK_KEYS 36 #define MSG_BOOKMARK_KEYS 36
#define MSG_INVALID_REG 37 #define MSG_INVALID_REG 37
#define MSG_ORDER 38 #define MSG_ORDER 38
#define MSG_LIST_SEL 39
static const char * const messages[] = { static const char * const messages[] = {
"no traversal", "no traversal",
@ -516,7 +515,6 @@ static const char * const messages[] = {
"bookmark keys:", "bookmark keys:",
"invalid regex", "invalid regex",
"toggle 'a'u / 'd'u / 'e'xtn / 'r'everse / 's'ize / 't'ime / 'v'ersion?", "toggle 'a'u / 'd'u / 'e'xtn / 'r'everse / 's'ize / 't'ime / 'v'ersion?",
"0 selected, list selection file?"
}; };
/* Supported configuration environment variables */ /* Supported configuration environment variables */
@ -1103,13 +1101,8 @@ static int editselection(void)
struct stat sb; struct stat sb;
time_t mtime; time_t mtime;
if (!selbufpos) { if (!selbufpos)
fd = get_input(messages[MSG_LIST_SEL]); return listselfile();
if ((fd == 'y' || fd == 'Y') && !listselfile())
return 0;
return 1;
}
fd = create_tmp_file(); fd = create_tmp_file();
if (fd == -1) { if (fd == -1) {