diff options
-rw-r--r-- | tools/perf/util/ui/browsers/hists.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tools/perf/util/ui/browsers/hists.c b/tools/perf/util/ui/browsers/hists.c index 0eced19e3bdb..936e641e9f86 100644 --- a/tools/perf/util/ui/browsers/hists.c +++ b/tools/perf/util/ui/browsers/hists.c | |||
@@ -579,6 +579,9 @@ static int hist_browser__show_entry(struct hist_browser *self, | |||
579 | if (!self->b.navkeypressed) | 579 | if (!self->b.navkeypressed) |
580 | width += 1; | 580 | width += 1; |
581 | 581 | ||
582 | if (!current_entry || !self->b.navkeypressed) | ||
583 | ui_browser__set_color(&self->b, HE_COLORSET_NORMAL); | ||
584 | |||
582 | slsmg_write_nstring(s, width); | 585 | slsmg_write_nstring(s, width); |
583 | ++row; | 586 | ++row; |
584 | ++printed; | 587 | ++printed; |