BBS:      TELESC.NET.BR
Assunto:  src/conio/bitmap_con.c
De:       Deuc¨
Data:     Sun, 15 Mar 2026 14:09:13 -0700
-----------------------------------------------------------
https://gitlab.synchro.net/main/sbbs/-/commit/8dda8ba2f94dd1534aacf061
Modified Files:
	src/conio/bitmap_con.c
Log Message:
Fix integer division in bitmap_setcustomcursor() cursor scaling

The ratio variable is declared as double, but vstat.charheight/r performed
integer division since both operands are int. This truncated the scaling
ratio (e.g. 16/14 = 1 instead of 1.143), causing cursor start/end positions
to not scale correctly when switching between font heights.

Co-Authored-By: Claude Opus 4.6 
n
---
  mSynchronetn  hgVertrauen n hHome of Synchronet n gh[vert/cvs/bbs].synchro.net

-----------------------------------------------------------
[Voltar]