diff options
| -rw-r--r-- | tools/perf/util/newt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/util/newt.c b/tools/perf/util/newt.c index c0e71aacfc1b..7a123a94e3fc 100644 --- a/tools/perf/util/newt.c +++ b/tools/perf/util/newt.c | |||
| @@ -132,7 +132,7 @@ static bool dialog_yesno(const char *msg) | |||
| 132 | { | 132 | { |
| 133 | /* newtWinChoice should really be accepting const char pointers... */ | 133 | /* newtWinChoice should really be accepting const char pointers... */ |
| 134 | char yes[] = "Yes", no[] = "No"; | 134 | char yes[] = "Yes", no[] = "No"; |
| 135 | return newtWinChoice(NULL, no, yes, (char *)msg) == 2; | 135 | return newtWinChoice(NULL, yes, no, (char *)msg) == 1; |
| 136 | } | 136 | } |
| 137 | 137 | ||
| 138 | /* | 138 | /* |
