mirror of
https://github.com/MidnightCommander/mc
synced 2024-12-22 20:36:50 +03:00
Merge branch '35_view_dir_update' into mc-4.6
Conflicts: ChangeLog
This commit is contained in:
commit
da74735548
@ -7,6 +7,10 @@
|
||||
translated strings. This breaks now once every history file
|
||||
but afterwards this will be stable
|
||||
|
||||
2009-01-24 Enrico Weigelt <weigelt@metux.de>
|
||||
|
||||
* src/cmd.c: fixed bug #35 (do_view_cmd is now calling repaint_screen())
|
||||
|
||||
2009-01-24 Patrick Winnertz <winnie@debian.org>
|
||||
|
||||
* edit/editcmd.c: Fix some issues about regex:
|
||||
|
@ -198,8 +198,8 @@ do_view_cmd (int normal)
|
||||
if (!do_cd (selection (current_panel)->fname, cd_exact))
|
||||
message (1, MSG_ERROR, _("Cannot change directory"));
|
||||
|
||||
repaint_screen();
|
||||
return;
|
||||
|
||||
}
|
||||
|
||||
file_idx = current_panel->selected;
|
||||
@ -213,6 +213,8 @@ do_view_cmd (int normal)
|
||||
break;
|
||||
file_idx = scan_for_file (current_panel, file_idx, dir);
|
||||
}
|
||||
|
||||
repaint_screen();
|
||||
}
|
||||
|
||||
/* Run user's preferred viewer on the currently selected file */
|
||||
|
Loading…
Reference in New Issue
Block a user