From 9ed369f7d124f44b78d03f3e9a52a14100e35b63 Mon Sep 17 00:00:00 2001 From: Oskar <> Date: Sun, 10 Mar 2024 13:34:53 +0100 Subject: fixed and tested --- startmode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/startmode.c b/startmode.c index 8b89b93..43def3b 100644 --- a/startmode.c +++ b/startmode.c @@ -164,7 +164,7 @@ int startmode(char filename[]) { case 'd': { int choic = choice(); if (choic == 1) { - return 1; + break; } int increment = 0; if (focus == 1) { // checks if its line 1. This is so that we can remove the newline properly. -- cgit v1.2.3