• src/conio/bitmap_con.c

    From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun May 3 06:45:55 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/114aa41696ff4148c46e6ad8
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix incorrect colour set on scrolled lines

    When a screen was being scrolled, the fill colour for newly filled
    lines was being passed through color_value() which is for draw
    rectangles, not screen pixels.

    The result of this is that they're effectively always drawn as a
    near-black colour regardless of the current foreground colour.

    If the RGB value of the current background colour is beyond the
    end of the palette, SyncTERM will flood stderr with "Invalid colour
    value:" messages and the cells will be rendered with a black
    background.

    This is broken in v1.8 :(
    Fixes ticket 248
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)
  • From Deucе@1:103/705 to Git commit to main/sbbs/master on Sun Jun 7 15:25:39 2026
    https://gitlab.synchro.net/main/sbbs/-/commit/67201b397419ca620a8f3654
    Modified Files:
    src/conio/bitmap_con.c
    Log Message:
    Fix X phase in setpixels()

    While the first text row in a setpixels() call was handled correctly,
    later rows always started at an X phase of 0. This means cells on the
    right edge would not be marked as containing pixels if the right edge
    is fewer pixels into a cell than the left edge.

    Reported by DigitalMan on Discord via direct message.
    --- SBBSecho 3.37-Linux
    * Origin: Vertrauen - [vert/cvs/bbs].synchro.net (1:103/705)