mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-02-17 13:10:12 +08:00
Fix build problem in fputs_maybe_filtered
When merging commit 99f20f ("Fix style bug when paging") to master, I had to make some changes to get it to compile again. Unfortunately, I must not have added these to the index at the correct time, because they were not committed. This patch fixes the problem. gdb/ChangeLog 2019-05-08 Tom Tromey <tromey@adacore.com> * utils.c (fputs_maybe_filtered): Call can_emit_style_escape as a method.
This commit is contained in:
parent
99f20f0868
commit
ca1df23907
@ -1,3 +1,8 @@
|
||||
2019-05-08 Tom Tromey <tromey@adacore.com>
|
||||
|
||||
* utils.c (fputs_maybe_filtered): Call can_emit_style_escape as a
|
||||
method.
|
||||
|
||||
2019-05-08 Tom Tromey <tromey@adacore.com>
|
||||
|
||||
* utils.c (fputs_maybe_filtered): Reset style after paging, even
|
||||
|
@ -1826,7 +1826,7 @@ fputs_maybe_filtered (const char *linebuffer, struct ui_file *stream,
|
||||
+ (save_chars - wrap_column);
|
||||
wrap_column = 0; /* And disable fancy wrap */
|
||||
}
|
||||
else if (did_paginate && can_emit_style_escape (stream))
|
||||
else if (did_paginate && stream->can_emit_style_escape ())
|
||||
emit_style_escape (save_style, stream);
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user