From c6573d55279b9ea6fcd29fc658847795d3d78c0c Mon Sep 17 00:00:00 2001 From: dvorakmortonxd Date: Mon, 25 May 2026 22:51:10 +0200 Subject: [PATCH] while(1) is cleaner than while(1==1) --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/main.c b/main.c index dd5bb93..ace25a5 100644 --- a/main.c +++ b/main.c @@ -173,7 +173,7 @@ int main() { printf("\n\nSWITCH OVER TO\n"); // DIVIDER printf("1 = DvorakMSDOS.C, 2 = exit\n"); while (getchar() != '\n') {} // same use case as above in the first input part of the code - while (1==1) { + while (1) { fflush(stdout); // same use case as above in the first input part of the code char chc = GETCH(); if (chc == '1') {