From: Julien Desfossez Date: Thu, 29 Mar 2012 16:07:38 +0000 (-0400) Subject: Fix printing in perf preference panel X-Git-Tag: v0.2~45 X-Git-Url: https://git.lttng.org./?a=commitdiff_plain;h=b8a1df45a129ecca6e761af956b8b2aab6f98045;p=lttngtop.git Fix printing in perf preference panel Signed-off-by: Julien Desfossez --- diff --git a/src/cursesdisplay.c b/src/cursesdisplay.c index 2262d41..acf5753 100644 --- a/src/cursesdisplay.c +++ b/src/cursesdisplay.c @@ -722,7 +722,7 @@ void update_perf_panel(int line_selected, int toggle_view, int toggle_sort) wattron(perf_panel_window, A_BOLD); mvwprintw(perf_panel_window, i + 1, 1, "[%c] %s", perf->visible == 1 ? 'x' : ' ', - (char *) perflist->data + 6); + (char *) perflist->data + 5); wattroff(perf_panel_window, A_BOLD); wattroff(perf_panel_window, COLOR_PAIR(5)); i++;