|
@@ -308,7 +308,7 @@ static void annotate_browser__draw_current_jump(struct ui_browser *browser)
|
|
struct map_symbol *ms = ab->b.priv;
|
|
struct map_symbol *ms = ab->b.priv;
|
|
struct symbol *sym = ms->sym;
|
|
struct symbol *sym = ms->sym;
|
|
u8 pcnt_width = annotate_browser__pcnt_width(ab);
|
|
u8 pcnt_width = annotate_browser__pcnt_width(ab);
|
|
- int width = 0;
|
|
|
|
|
|
+ int width;
|
|
|
|
|
|
/* PLT symbols contain external offsets */
|
|
/* PLT symbols contain external offsets */
|
|
if (strstr(sym->name, "@plt"))
|
|
if (strstr(sym->name, "@plt"))
|
|
@@ -355,8 +355,7 @@ static void annotate_browser__draw_current_jump(struct ui_browser *browser)
|
|
to = (u64)btarget->idx;
|
|
to = (u64)btarget->idx;
|
|
}
|
|
}
|
|
|
|
|
|
- if (ab->have_cycles)
|
|
|
|
- width = ANNOTATION__IPC_WIDTH + ANNOTATION__CYCLES_WIDTH;
|
|
|
|
|
|
+ width = annotate_browser__cycles_width(ab);
|
|
|
|
|
|
ui_browser__set_color(browser, HE_COLORSET_JUMP_ARROWS);
|
|
ui_browser__set_color(browser, HE_COLORSET_JUMP_ARROWS);
|
|
__ui_browser__line_arrow(browser,
|
|
__ui_browser__line_arrow(browser,
|