https://gitlab.synchro.net/main/sbbs/-/commit/76bd27a4789ceb8d01539f6b
Modified Files:
src/sbbs3/js_filebase.cpp
Log Message:
FileBase.add(): derive summary from extdesc when desc has no text
A summary description consisting solely of graphics characters (e.g. a
TIC "Desc" line copied from the top row of a FILE_ID.DIZ border) was
stored verbatim, since prep_file_desc() was only applied when no summary
was provided at all.
Now, when the provided summary is missing, empty, or has no alphanumeric characters, it is derived from the extended description (whether
extracted from a DIZ or provided by the caller, e.g. TIC Ldesc lines).
This covers tickit.js, addfiles.js and other JS importers.
Seen with KUNGF150.ZIP imported via tickit.js into fsxNet DOOR: summary
was 45 copies of CP437 0xD2.
Compile-tested with GCC only (not MSVC).
Co-Authored-By: Claude Opus 5.5 <
noreply@anthropic.com>
--- SBBSecho 3.38-Linux
* Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)