13 Dec
2022
13 Dec
'22
3:25 a.m.
Alex Henrie (@alexhenrie) commented about dlls/user32/tests/sysparams.c:
{ static const DWORD mode_fields = DM_DISPLAYORIENTATION | DM_BITSPERPEL | DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFLAGS | DM_DISPLAYFREQUENCY; - static const DWORD setting_fields = mode_fields | DM_POSITION; + static const DWORD setting_fields = DM_DISPLAYORIENTATION | DM_BITSPERPEL | + DM_PELSWIDTH | DM_PELSHEIGHT | DM_DISPLAYFLAGS | DM_DISPLAYFREQUENCY | DM_POSITION; How about turning these two constants into #defines?
-- https://gitlab.winehq.org/wine/wine/-/merge_requests/1797#note_19543