aboutsummaryrefslogtreecommitdiff
path: root/libbutl/prompt.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'libbutl/prompt.cxx')
-rw-r--r--libbutl/prompt.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/libbutl/prompt.cxx b/libbutl/prompt.cxx
index 2e42dd5..154522c 100644
--- a/libbutl/prompt.cxx
+++ b/libbutl/prompt.cxx
@@ -44,8 +44,8 @@ namespace butl
if (!e)
a = def;
}
- } while (a != "y" && a != "n");
+ } while (a != "y" && a != "Y" && a != "n" && a != "N");
- return a == "y";
+ return a == "y" || a == "Y";
}
}