From 5cc6cc1ac6aa19c7164850b868fe6b6dddaf8c93 Mon Sep 17 00:00:00 2001 From: dey4ss <27929897+dey4ss@users.noreply.github.com> Date: Mon, 11 Mar 2024 22:06:03 +0100 Subject: [PATCH] print prompt again after incorrect input --- bm_utils.c | 1 + 1 file changed, 1 insertion(+) diff --git a/bm_utils.c b/bm_utils.c index 658aa73..0322dce 100644 --- a/bm_utils.c +++ b/bm_utils.c @@ -144,6 +144,7 @@ yes_no(char *prompt) default: printf("Please answer 'yes' or 'no'.\n"); } + break; } } }