summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOskar <>2024-03-10 13:34:53 +0100
committerOskar <>2024-03-10 13:34:53 +0100
commit9ed369f7d124f44b78d03f3e9a52a14100e35b63 (patch)
tree846d366b4908eadbc488975e53f5b4276170a1ed
parenta8e9ee3b9b8d83fd0dbab22b5d8663154d09f110 (diff)
fixed and tested
-rw-r--r--startmode.c2
1 files changed, 1 insertions, 1 deletions
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.