Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

The time for action is past! Now is the time for senseless bickering.


dovenet / Synchronet Programming / src/conio/bitmap_con.c win32gdi.c x_events.c

SubjectAuthor
o src/conio/bitmap_con.c win32gdi.c x_events.cDeuc?

1
src/conio/bitmap_con.c win32gdi.c x_events.c

<6483A64A.47369.syncprog@vert.synchro.net>

  copy mid

https://www.rocksolidbbs.com/dovenet/article-flat.php?id=1370&group=DOVE-Net.Synchronet_Programming#1370

  copy link   Newsgroups: DOVE-Net.Synchronet_Programming
From: deuc?@VERT (Deuc?)
To: Git commit to main/sbbs/master
Subject: src/conio/bitmap_con.c win32gdi.c x_events.c
Message-ID: <6483A64A.47369.syncprog@vert.synchro.net>
Date: Fri, 9 Jun 2023 15:23:06 -0700
X-Comment-To: Git commit to main/sbbs/master
Path: rocksolidbbs.com!not-for-mail
Organization: Vertrauen
Newsgroups: DOVE-Net.Synchronet_Programming
X-FTN-PID: Synchronet 3.20a-Linux master/e1887edcf Jun 9 2023 GCC 12.2.0
X-FTN-MSGID: 47369.syncprog@1:103/705 28e99553
X-FTN-CHRS: CP437 2
WhenImported: 20230609152306-0700 c1e0
WhenExported: 20230610124422-0700 c1e0
ExportedFrom: VERT syncprog 47369
Content-Type: text/plain; charset=IBM437
Content-Transfer-Encoding: 8bit
 by: Deuc? - Fri, 9 Jun 2023 22:23 UTC

https://gitlab.synchro.net/main/sbbs/-/commit/204ee7cd0516d41ebba89f51
Modified Files:
src/conio/bitmap_con.c win32gdi.c x_events.c
Log Message:
Fix issue with bitmap_drv_init_mode()

Because bitmap_get_scaled_win_size() was being clamped to maxsize,
no matter how much mult was incremented, w and h would never be
larger than maxwidth/maxheight and only under exceptional
circumstances would the be equal, which would result in an infinite
loop.

While we're here, set the integer scaling value so we're not chasing
ulps all over the place with floating point math/scaling when we
don't need to.

---
■ Synchronet ■ Vertrauen ■ Home of Synchronet ■ [vert/cvs/bbs].synchro.net


dovenet / Synchronet Programming / src/conio/bitmap_con.c win32gdi.c x_events.c

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor