aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/util
diff options
context:
space:
mode:
Diffstat (limited to 'tools/perf/util')
-rw-r--r--tools/perf/util/newt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c
index aed21490ccdc..cdd958eb68cf 100644
--- a/tools/perf/util/newt.c
+++ b/tools/perf/util/newt.c
@@ -347,12 +347,12 @@ static int ui_browser__show(struct ui_browser *self, const char *title)
347 newtPopWindow(); 347 newtPopWindow();
348 } 348 }
349 ui_browser__refresh_dimensions(self); 349 ui_browser__refresh_dimensions(self);
350 newtCenteredWindow(self->width + 2, self->height, title); 350 newtCenteredWindow(self->width, self->height, title);
351 self->form = newt_form__new(); 351 self->form = newt_form__new();
352 if (self->form == NULL) 352 if (self->form == NULL)
353 return -1; 353 return -1;
354 354
355 self->sb = newtVerticalScrollbar(self->width + 1, 0, self->height, 355 self->sb = newtVerticalScrollbar(self->width, 0, self->height,
356 HE_COLORSET_NORMAL, 356 HE_COLORSET_NORMAL,
357 HE_COLORSET_SELECTED); 357 HE_COLORSET_SELECTED);
358 if (self->sb == NULL) 358 if (self->sb == NULL)