mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-12 21:57:43 +00:00
perf TUI: Move "Yes" button to before "No"
Esc + Enter should be enough warning to avoid accidentaly exiting from the browser. Cc: Frédéric Weisbecker <fweisbec@gmail.com> Cc: Mike Galbraith <efault@gmx.de> Cc: Peter Zijlstra <a.p.zijlstra@chello.nl> Cc: Paul Mackerras <paulus@samba.org> LKML-Reference: <new-submission> Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
This commit is contained in:
parent
6e7ab4c649
commit
c0ed55d2e4
1 changed files with 1 additions and 1 deletions
|
@ -132,7 +132,7 @@ static bool dialog_yesno(const char *msg)
|
||||||
{
|
{
|
||||||
/* newtWinChoice should really be accepting const char pointers... */
|
/* newtWinChoice should really be accepting const char pointers... */
|
||||||
char yes[] = "Yes", no[] = "No";
|
char yes[] = "Yes", no[] = "No";
|
||||||
return newtWinChoice(NULL, no, yes, (char *)msg) == 2;
|
return newtWinChoice(NULL, yes, no, (char *)msg) == 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Loading…
Reference in a new issue