https://gitlab.synchro.net/main/sbbs/-/commit/40682d3261cdb548020b47ed
Modified Files:
src/sbbs3/con_hi.cpp
Log Message:
Don't overwrite uselect_title with blank string
The old way (before commit 6f272c3f85ab448), the title argument was only used (printed) for the first added item and was always ignored after that.
The new behavior was always overwriting the title if passed a non-null title pointer, but calls to console.uselect() with blank title (e.g. from utopia.js) were overwriting the saved (and ultimately printed) title with a blank string. This fixes that.
Also, clear out the uselect_title after selection so we never have a stale title laying about and potentially re-used incorrectly.
---
þ Synchronet þ Vertrauen þ Home of Synchronet þ [vert/cvs/bbs].synchro.net