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

View file

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