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:
Miguel de Icaza 1998-03-31 16:58:54 +00:00
parent 8c4cee34c3
commit 6ac7fbc179
2 changed files with 7 additions and 1 deletions

View File

@ -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

View File

@ -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);
}