mirror of
https://github.com/reactos/reactos.git
synced 2024-06-15 09:01:42 +00:00
[0.4.12][WIN32SS] Workaround Marlett drawing for Window close buttons CORE-16125
It regressed for RC by 0.4.12-RC-16-ge1ac9dcd66
and for master by 0.4.13-dev-110-g19fc9415bf
Thanks to Katayama Hirofumi MZ, the workarounds author. We think it is a workaround, so we will not commit to master. Testbot runs (executed on master) seem to be non-alarming VBox https://reactos.org/testman/compare.php?ids=68471,68479 KVM https://reactos.org/testman/compare.php?ids=68472,68480
This commit is contained in:
parent
021f498cb2
commit
6f651b6ec5
|
@ -814,7 +814,7 @@ BOOL FASTCALL UITOOLS95_DrawFrameCaption(HDC dc, LPRECT r, UINT uFlags)
|
|||
lf.lfWidth = 0;
|
||||
lf.lfWeight = FW_NORMAL;
|
||||
lf.lfCharSet = DEFAULT_CHARSET;
|
||||
lf.lfQuality = NONANTIALIASED_QUALITY;
|
||||
lf.lfQuality = ANTIALIASED_QUALITY;
|
||||
RtlCopyMemory(lf.lfFaceName, L"Marlett", sizeof(L"Marlett"));
|
||||
hFont = GreCreateFontIndirectW(&lf);
|
||||
/* save font and text color */
|
||||
|
|
|
@ -842,6 +842,7 @@ static BOOL UITOOLS95_DrawFrameCaption(HDC dc, LPRECT r, UINT uFlags)
|
|||
lf.lfWidth = 0;
|
||||
lf.lfWeight = FW_NORMAL;
|
||||
lf.lfCharSet = DEFAULT_CHARSET;
|
||||
lf.lfQuality = ANTIALIASED_QUALITY;
|
||||
lstrcpy(lf.lfFaceName, TEXT("Marlett"));
|
||||
hFont = CreateFontIndirect(&lf);
|
||||
/* save font and text color */
|
||||
|
|
Loading…
Reference in a new issue