mirror of
https://github.com/MidnightCommander/mc
synced 2025-03-14 03:42:53 +03:00
fixed #35
This commit is contained in:
parent
7fae75c0d6
commit
b1d848b786
@ -1,3 +1,7 @@
|
||||
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:
|
||||
|
@ -197,8 +197,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;
|
||||
@ -212,6 +212,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…
x
Reference in New Issue
Block a user