diff --git a/[refs] b/[refs] index 0a14baf87617..0fb0cde54475 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: c1ec5fefd9cd9ccb020966a49a3c7f44b25d9e84 +refs/heads/master: 29351db6a05e7e42be457569428425520a18beec diff --git a/trunk/tools/perf/util/newt.c b/trunk/tools/perf/util/newt.c index 094887f45d05..139eb1a16cd8 100644 --- a/trunk/tools/perf/util/newt.c +++ b/trunk/tools/perf/util/newt.c @@ -837,9 +837,10 @@ int hists__browse(struct hists *self, const char *helpline, const char *input_na if (es.reason == NEWT_EXIT_HOTKEY) { if (toupper(es.u.key) == 'A') goto do_annotate; - if (es.u.key == NEWT_KEY_ESCAPE || - toupper(es.u.key) == 'Q' || - es.u.key == CTRL('c')) { + if (toupper(es.u.key) == 'Q' || + es.u.key == CTRL('c')) + break; + if (es.u.key == NEWT_KEY_ESCAPE) { if (dialog_yesno("Do you really want to exit?")) break; else