FidoNet Echomail Archive
sync_programming

<<< Previous Index Next >>>

From: rswindell
To: CVS commit
Date: 2019-03-15 16:42:36
Subject: src/syncterm/syncterm.c

src/syncterm syncterm.c 1.218 1.219
Update of /cvsroot/sbbs/src/syncterm
In directory cvs:/tmp/cvs-serv20399

Modified Files:
	syncterm.c 
Log Message:
Fix (or work-around?) ScalingFactor issue reported by ogg in fsxNet->FSX BBS:
The ScalingFactor would always (or usually) reset to 1 and have to be reset
e.g. to 2, by resizing the window manually, every time SyncTERM was run.

I found that by calling textmode() *after* setscaling() rather than before
fixed this issue (at least in SDL mode on Ubuntu Linux). Another "fix" that
worked inserting a small (100ms) delay between the calls to textmode() and
setscaling() - so there appears to have been a race condition and calling
setccaling() too soon after text mode() would fail to change the window
size successfully. Reordering these calls seems to work 100% of the time
without any additional delays. <shrug> Deuce would likely know
"why" better
than I.


--- SBBSecho 3.06-Linux
 * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
SEEN-BY: 103/705 154/10 203/0 218/700 221/0 229/426 240/5832 261/38 280/464
SEEN-BY: 280/5003 396/45 423/120 633/0 267 280 281 384 408 412 509 712/848
SEEN-BY: 770/1
@PATH: 103/705 280/464 712/848 633/280 267


<<< Previous Index Next >>>