summaryrefslogtreecommitdiff
path: root/functions.c
diff options
context:
space:
mode:
Diffstat (limited to 'functions.c')
-rw-r--r--functions.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/functions.c b/functions.c
index 0b17512..9c0fbe7 100644
--- a/functions.c
+++ b/functions.c
@@ -24,10 +24,10 @@ int choice(uint8_t mode) {
while ('\n' != getchar());
- modeskip:
-
} while ( (choice != 'Y') && (choice != 'y') && (choice != 'N') && (choice != 'n') );
+ modeskip:
+
if ( (choice == 'Y') || (choice == 'y') )
{
return 0;