From cbae237d62eb5bf638b78f352e4716497e71f8ac Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Fri, 22 Mar 2024 17:54:36 +0200 Subject: [PATCH] Minor CRASHREPORT formatting bit --- src/pline.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/src/pline.c b/src/pline.c index 09196d4f2..b024029c6 100644 --- a/src/pline.c +++ b/src/pline.c @@ -592,10 +592,12 @@ impossible(const char *s, ...) } #ifdef CRASHREPORT - if(sysopt.crashreporturl){ - boolean report = ('y' == yn_function("Report now?","yn",'n',FALSE)); + if (sysopt.crashreporturl) { + boolean report = ('y' == yn_function("Report now?", ynchars, + 'n', FALSE)); + raw_print(""); // prove to the user the character was accepted - if(report){ + if (report) { submit_web_report(1, "Impossible", pbuf); } }