summaryrefslogtreecommitdiff
path: root/functions.c
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-04-20 00:23:28 +0200
committerOskar <[email protected]>2024-04-20 00:23:28 +0200
commite2c0feeb8b0b350d4c22f7786d08e28fff473bf0 (patch)
treea049d25debf5b3e48025bc79ebd4782af71c023e /functions.c
parente7e9f3077f3dbbe31b22316a47980c417d915b49 (diff)
Moved modeskip label because pedantic compiler
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;