Subj : src/xpdoor/dropfiles.c To : Git commit to main/sbbs/master From : Rob Swindell (on Debian Linux) Date : Sun Aug 09 2026 07:19:11 https://gitlab.synchro.net/main/sbbs/-/commit/ba8ae1b7dcbfbe791d3d774a Modified Files: src/xpdoor/dropfiles.c Log Message: xpdoor: fix inverted ANSI/CP437 detection when parsing DOOR.SYS A truthy strcmp() means "not equal", so a graphics mode (line 20) of "GR" yielded CP437 without ANSI and "NG" yielded both, exactly backwards. Comparing against 0 alone is not enough: GETBUF() leaves the line terminator in the buffer, unlike GETSBUF(), which runs truncnl(). The corrected comparison would never match, and every caller would come away with no display flags at all. Co-Authored-By: Claude Opus 5 (1M context) --- SBBSecho 3.37-Linux * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705) .