perf annotate: Fix broken arrow at row 0 connecting jmp instruction to its target
[GitHub/LineageOS/android_kernel_samsung_universal7580.git] / tools / perf / ui / browser.c
index bbc782e364b0831f04b12ce417b22ae6b5948b16..9118fb8cc100736a067b52f241989610e2502c1a 100644 (file)
@@ -672,7 +672,7 @@ static void __ui_browser__line_arrow_down(struct ui_browser *browser,
                ui_browser__gotorc(browser, row, column + 1);
                SLsmg_draw_hline(2);
 
-               if (row++ == 0)
+               if (++row == 0)
                        goto out;
        } else
                row = 0;