summaryrefslogtreecommitdiff
path: root/startmode.c
diff options
context:
space:
mode:
authorOskar <[email protected]>2024-04-04 20:32:33 +0200
committerOskar <[email protected]>2024-04-04 20:32:33 +0200
commitd64a70597d4d5af00d8b372bebf271ad068eadb4 (patch)
treefdeefdfa8c488473c5d8cd91775619223d5f9307 /startmode.c
parent1f0fea8d157876d8a89d0b530608fa473b1331f2 (diff)
Bugfixes. Still some things i gotta iron out. This is getting more and
more complicated each day. Not sure if i like it. Although at least its not as complicated as it would have been if i would have kept the old validate_L and validate_N code. That would have been a bigger nightmare.
Diffstat (limited to 'startmode.c')
-rw-r--r--startmode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/startmode.c b/startmode.c
index f77611b..1711d1c 100644
--- a/startmode.c
+++ b/startmode.c
@@ -113,8 +113,6 @@ int startmode(char filename[]) {
call_singles(single, focus, filename);
break;
case _MULTIPLE:
- //fprintf(stdout, "multiple\n");
- //fprintf(stdout, "%s", multiple);
switch(multiple[0]) {
case 'l':
case 'L':
@@ -137,6 +135,8 @@ int startmode(char filename[]) {
free(multiple);
break;
case _FAIL:
+ extern int clfstdin_doubleprint;
+ if (clfstdin_doubleprint == 0) { break ;}
fprintf(stdout, "?\n");
break;
case _RETURN: // if user just preses 'return' button