(execute_menu_command): fix mcview_viewer() call.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
Andrew Borodin 2018-01-04 15:57:32 +03:00
parent 7abd640b41
commit 2043ef74a9
1 changed files with 1 additions and 1 deletions

View File

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