mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-05-31 18:20:12 +08:00
2008-03-06 Hidetaka Takano <hidetaka.takano@glb.toshiba.co.jp>
* source.c (directory_command): Modify the determination of condition of terminal "from_tty".
This commit is contained in:
@ -369,7 +369,7 @@ directory_command (char *dirname, int from_tty)
|
||||
/* FIXME, this goes to "delete dir"... */
|
||||
if (dirname == 0)
|
||||
{
|
||||
if (from_tty && query (_("Reinitialize source path to empty? ")))
|
||||
if (!from_tty || query (_("Reinitialize source path to empty? ")))
|
||||
{
|
||||
xfree (source_path);
|
||||
init_source_path ();
|
||||
|
Reference in New Issue
Block a user