diff options
author | Oskar <[email protected]> | 2024-04-20 00:23:28 +0200 |
---|---|---|
committer | Oskar <[email protected]> | 2024-04-20 00:23:28 +0200 |
commit | e2c0feeb8b0b350d4c22f7786d08e28fff473bf0 (patch) | |
tree | a049d25debf5b3e48025bc79ebd4782af71c023e /functions.c | |
parent | e7e9f3077f3dbbe31b22316a47980c417d915b49 (diff) |
Moved modeskip label because pedantic compiler
Diffstat (limited to 'functions.c')
-rw-r--r-- | functions.c | 4 |
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; |