https://gitlab.synchro.net/main/sbbs/-/commit/daaff09080763a078bfc45bf
Modified Files:
src/doors/syncretro/syncretro_io.c src/doors/termgfx/stats.c stats.h termgfx_termio.c
Log Message:
termgfx: one spelling for the dirty-rect share, in stats.h
The dr field went into the shared strip formatted by hand, and came out
"dr84%" where SyncRetro has always written "dr 84%" for the same
quantity -- and with a "dr-" placeholder before the first window closes
where SyncRetro writes nothing at all. Two doors, one field, two
readings.
stats.h exists for this. Its own header says the part that must READ the
same everywhere belongs here, and records that three copies of the strip
had already drifted once. A field added to it by hand in one door and
copied by eye into the next is the same mistake with fewer steps.
So termgfx_stats_dr() owns the spelling and all four states -- a
percentage, "n/a" where the client has no cell grid to place a patch in,
"off" where the door lets a sysop disable patching, and empty before
there is anything to report. Both doors call it; neither formats it. SyncRetro's output is unchanged, which is the point: it was already
right.
Co-Authored-By: Claude Opus 5 (1M context) <
noreply@anthropic.com>
--- SBBSecho 3.37-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)