mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-23 04:46:55 +03:00
(do_view_cmd): rename parameter.
Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
This commit is contained in:
parent
69e0283794
commit
63aba8f7e2
@ -124,10 +124,10 @@ static const char *machine_str = N_("Enter machine name (F1 for details):");
|
||||
/* --------------------------------------------------------------------------------------------- */
|
||||
/**
|
||||
* Run viewer (internal or external) on the currently selected file.
|
||||
* If normal is TRUE, force internal viewer and raw mode (used for F13).
|
||||
* If @plain_view is TRUE, force internal viewer and raw mode (used for F13).
|
||||
*/
|
||||
static void
|
||||
do_view_cmd (gboolean normal)
|
||||
do_view_cmd (gboolean plain_view)
|
||||
{
|
||||
/* Directories are viewed by changing to them */
|
||||
if (S_ISDIR (selection (current_panel)->st.st_mode) || link_isdir (selection (current_panel)))
|
||||
@ -151,7 +151,7 @@ do_view_cmd (gboolean normal)
|
||||
|
||||
file_idx = current_panel->selected;
|
||||
filename_vpath = vfs_path_from_str (current_panel->dir.list[file_idx].fname);
|
||||
view_file (filename_vpath, normal, use_internal_view);
|
||||
view_file (filename_vpath, plain_view, use_internal_view);
|
||||
vfs_path_free (filename_vpath);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user