From c8394629dce8024ccb9d10490623035b757c034b Mon Sep 17 00:00:00 2001 From: jkh Date: Thu, 14 Dec 2000 02:49:02 +0000 Subject: Adapt sysinstall to use the new msgNoYes() function which assumes no as a default. Sysinstall should be both less dangerous and less annoying as a result of this change, though that's just my opinion (since they're the defaults which annoy ME the least :). --- usr.sbin/sysinstall/index.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'usr.sbin/sysinstall/index.c') diff --git a/usr.sbin/sysinstall/index.c b/usr.sbin/sysinstall/index.c index 054c9ac..426097b 100644 --- a/usr.sbin/sysinstall/index.c +++ b/usr.sbin/sysinstall/index.c @@ -486,7 +486,7 @@ pkg_fire(dialogMenuItem *self) msgInfo("Added %s to selection list", kp->name); } else if (ie->depc == 0) { - if (!msgYesNo("Do you really want to delete %s from the system?", kp->name)) { + if (!msgNoYes("Do you really want to delete %s from the system?", kp->name)) { if (vsystem("pkg_delete %s %s", isDebug() ? "-v" : "", kp->name)) { msgConfirm("Warning: pkg_delete of %s failed.\n Check debug output for details.", kp->name); } -- cgit v1.1