Ticket #3914: %view not piping command output to internal viewer in user menu.

Revert "(execute_menu_command): fix mcview_viewer() call."
This reverts commit 2043ef74a9.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2018-05-07 09:06:56 +03:00
parent 35d21b6ea2
commit 8f7d44ef7f

View File

@ -546,7 +546,7 @@ execute_menu_command (const WEdit * edit_widget, const char *commands, gboolean
if (run_view)
{
mcview_viewer (NULL, file_name_vpath, 0, 0, 0);
mcview_viewer (vfs_path_as_str (file_name_vpath), NULL, 0, 0, 0);
dialog_switch_process_pending ();
}
else