Minor CRASHREPORT formatting bit

This commit is contained in:
Pasi Kallinen
2024-03-22 17:54:36 +02:00
parent f801863e5c
commit cbae237d62
+5 -3
View File
@@ -592,10 +592,12 @@ impossible(const char *s, ...)
} }
#ifdef CRASHREPORT #ifdef CRASHREPORT
if(sysopt.crashreporturl){ if (sysopt.crashreporturl) {
boolean report = ('y' == yn_function("Report now?","yn",'n',FALSE)); boolean report = ('y' == yn_function("Report now?", ynchars,
'n', FALSE));
raw_print(""); // prove to the user the character was accepted raw_print(""); // prove to the user the character was accepted
if(report){ if (report) {
submit_web_report(1, "Impossible", pbuf); submit_web_report(1, "Impossible", pbuf);
} }
} }