perf newt: Fix the 'A'/'a' shortcut for annotate
[linux-2.6.git] / tools / perf / util / newt.c
index 5ded2f0..094887f 100644 (file)
@@ -892,10 +892,10 @@ int hists__browse(struct hists *self, const char *helpline, const char *input_na
 
                if (choice == -1)
                        continue;
-do_annotate:
+
                if (choice == annotate) {
                        struct hist_entry *he;
-
+do_annotate:
                        if (browser->selection->map->dso->origin == DSO__ORIG_KERNEL) {
                                ui_helpline__puts("No vmlinux file found, can't "
                                                 "annotate with just a "