Minor CRASHREPORT formatting bit

This commit is contained in:
Pasi Kallinen
2024-03-22 17:54:36 +02:00
parent f801863e5c
commit cbae237d62

View File

@@ -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);
}
}