From d64a70597d4d5af00d8b372bebf271ad068eadb4 Mon Sep 17 00:00:00 2001 From: Oskar Date: Thu, 4 Apr 2024 20:32:33 +0200 Subject: 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. --- startmode.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'startmode.c') 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 -- cgit v1.2.3