reactos/win32ss/gdi/gdi32
Tomáš Veselý a9bdd62d84
[GDI32] SetBkMode: Avoid invalid input. CORE-19656 (#7089)
Fixes a bug in Midori 0.5.11 installer which caused bad rendering
that was making the text hard to read (no background).
In Windows it's visible as FillRect(0x89011a1f, 0x0019f87c, 0xabababab),
and in ReactOS as SetBkMode(0xb5010fce, -1546139919).

After a number of attempts to get the same behavior, I haven't found a way
to fix it without a hack to make the installer look identical to Windows.

At least I added handling for the incorrect value in SetBkMode.
This shouldn't matter anywhere. It may not look the same as on Windows,
but the text will at least be readable.
2024-07-08 21:34:36 +03:00
..
include [GDI32] Fix III msvc build. 2021-09-27 18:19:49 -05:00
main [GDI32][USER32] Order the set_module_type arguments the usual way ("UNICODE" before the entrypoint). 2022-10-06 15:37:23 +02:00
misc [WIN32SS] Use GDI_HANDLE_* macros for readability (#4797) 2022-10-26 02:17:01 +02:00
objects [GDI32] SetBkMode: Avoid invalid input. CORE-19656 (#7089) 2024-07-08 21:34:36 +03:00
wine [GDI32] Fix IV msvc build. 2021-09-27 19:08:43 -05:00
CMakeLists.txt [GDI32][USER32] Order the set_module_type arguments the usual way ("UNICODE" before the entrypoint). 2022-10-06 15:37:23 +02:00
gdi32.rc Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00
gdi32.spec [GDI32_VISTA] Move D3DKMT functions out of gdi32. CORE-17433 2022-01-01 12:42:04 -05:00
good api.def Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers into modules, and delete rossubsys. 2017-10-03 07:45:34 +00:00