Merge branch '35_view_dir_update' into mc-4.6

Conflicts:
	ChangeLog
This commit is contained in:
Patrick Winnertz 2009-01-25 16:23:26 +01:00
commit da74735548
2 changed files with 7 additions and 1 deletions

View File

@ -7,6 +7,10 @@
translated strings. This breaks now once every history file translated strings. This breaks now once every history file
but afterwards this will be stable 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> 2009-01-24 Patrick Winnertz <winnie@debian.org>
* edit/editcmd.c: Fix some issues about regex: * edit/editcmd.c: Fix some issues about regex:

View File

@ -198,8 +198,8 @@ do_view_cmd (int normal)
if (!do_cd (selection (current_panel)->fname, cd_exact)) if (!do_cd (selection (current_panel)->fname, cd_exact))
message (1, MSG_ERROR, _("Cannot change directory")); message (1, MSG_ERROR, _("Cannot change directory"));
repaint_screen();
return; return;
} }
file_idx = current_panel->selected; file_idx = current_panel->selected;
@ -213,6 +213,8 @@ do_view_cmd (int normal)
break; break;
file_idx = scan_for_file (current_panel, file_idx, dir); file_idx = scan_for_file (current_panel, file_idx, dir);
} }
repaint_screen();
} }
/* Run user's preferred viewer on the currently selected file */ /* Run user's preferred viewer on the currently selected file */