Merge pull request #1241 from luukvbaal/master

Guard open_with getreadline for picker
This commit is contained in:
Arun 2021-11-23 18:17:13 +05:30 committed by GitHub
commit 2f986253e4
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 7 additions and 4 deletions

View File

@ -7519,10 +7519,13 @@ nochange:
tmp = xreadline(tmp, messages[MSG_ARCHIVE_NAME]);
break;
case SEL_OPENWITH:
#ifdef NORL
tmp = xreadline(NULL, messages[MSG_OPEN_WITH]);
#else
tmp = getreadline(messages[MSG_OPEN_WITH]);
#ifndef NORL
if (g_state.picker) {
#endif
tmp = xreadline(NULL, messages[MSG_OPEN_WITH]);
#ifndef NORL
} else
tmp = getreadline(messages[MSG_OPEN_WITH]);
#endif
break;
case SEL_NEW: