Replace input_interactive_p with a method
This replaces the global input_interactive_p function with a new method ui::input_interactive_p.
This commit is contained in:
parent
8f7f9b3a91
commit
efd3baf0dc
6 changed files with 18 additions and 17 deletions
|
@ -880,7 +880,7 @@ defaulted_query (const char *ctlstr, const char defchar, va_list args)
|
|||
way, important error messages don't get lost when talking to GDB
|
||||
over a pipe. */
|
||||
if (current_ui->instream != current_ui->stdin_stream
|
||||
|| !input_interactive_p (current_ui)
|
||||
|| !current_ui->input_interactive_p ()
|
||||
/* Restrict queries to the main UI. */
|
||||
|| current_ui != main_ui)
|
||||
{
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue