Skip to content
Snippets Groups Projects
Commit 7a48bf0a authored by Rob Swindell's avatar Rob Swindell :speech_balloon:
Browse files

Add space after numeric value on second line of DOORFILE.SR

This appears to work around a bug in BRE, FE, and TAL where they don't
recognize the "1" (ANSI supported) unless there is at least one other
character on the line following the decimal digit, resulting in the
unnecessary prompting of the user:
  This game is much more enjoyable with ANSI graphics enabled.
  Do you want ANSI Graphics? (Y/n)

As reported by "ben" in IRC.
parent ffb7350f
No related branches found
No related tags found
1 merge request!455Update branch with changes from master
......@@ -903,7 +903,7 @@ void sbbs_t::xtrndat(const char *name, const char *dropdir, uchar type, uint tle
* the "Real Name" line. This line will be used in the
* future for BRE's "dupe-checking" feature.
*/
safe_snprintf(str, sizeof(str), "%s\n%d\n%d\n%u\n%u\n%u\n%u\n%s\n"
safe_snprintf(str, sizeof(str), "%s\n%d \n%d\n%u\n%u\n%u\n%u\n%s\n"
,name // Complete name or handle of user
,INT_TO_BOOL(term & ANSI) // ANSI status: 1 = yes, 0 = no, -1 = don't know
,!INT_TO_BOOL(term & NO_EXASCII) // IBM Graphic characters: 1 = yes, 0 = no, -1 = unknown
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment