mirror of https://github.com/MidnightCommander/mc
(execute_menu_command): fix mcview_viewer() call.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
7abd640b41
commit
2043ef74a9
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue