diff --git a/[refs] b/[refs] index 6cd5a0fb5b75..c28e01f2849f 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: 6e7ab4c649eb7ed403d970b8eda32ca3745e8024 +refs/heads/master: c0ed55d2e4f600335193612725c0d7c8211a7a4a diff --git a/trunk/tools/perf/util/newt.c b/trunk/tools/perf/util/newt.c index c0e71aacfc1b..7a123a94e3fc 100644 --- a/trunk/tools/perf/util/newt.c +++ b/trunk/tools/perf/util/newt.c @@ -132,7 +132,7 @@ static bool dialog_yesno(const char *msg) { /* newtWinChoice should really be accepting const char pointers... */ char yes[] = "Yes", no[] = "No"; - return newtWinChoice(NULL, no, yes, (char *)msg) == 2; + return newtWinChoice(NULL, yes, no, (char *)msg) == 1; } /*