mirror of https://github.com/MidnightCommander/mc
1998-03-31 Paul Sheer <psheer@obsidian.co.za>
* cmd.c (nice_cd): Forgot to invoke the history registration in one spot.
This commit is contained in:
parent
8c4cee34c3
commit
6ac7fbc179
|
@ -1,3 +1,8 @@
|
|||
1998-03-31 Paul Sheer <psheer@obsidian.co.za>
|
||||
|
||||
* cmd.c (nice_cd): Forgot to invoke the history registration in
|
||||
one spot.
|
||||
|
||||
1998-03-30 Miguel de Icaza <miguel@nuclecu.unam.mx>
|
||||
|
||||
* menu.c (destroy_menu): Implement destroy_menu for all of the
|
||||
|
|
|
@ -1241,7 +1241,8 @@ static void nice_cd (char *text, char *xtext, char *help, char *prefix, int to_h
|
|||
else
|
||||
cd_path = copy_strings (prefix, machine, to_home ? "/~/" : NULL, NULL);
|
||||
|
||||
do_panel_cd (MENU_PANEL, cd_path, 0);
|
||||
if (do_panel_cd (MENU_PANEL, cd_path, 0))
|
||||
directory_history_add (MENU_PANEL, (MENU_PANEL)->cwd);
|
||||
free (cd_path);
|
||||
free (machine);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue