mirror of
https://github.com/reactos/wine.git
synced 2025-02-09 21:55:12 +00:00
Sysmetrics32W for SPI_GETICONTITLELOGFONT returns correct fontname.
This commit is contained in:
parent
cba848847b
commit
4659741056
@ -1499,8 +1499,10 @@ BOOL32 WINAPI SystemParametersInfo32W( UINT32 uAction, UINT32 uParam,
|
||||
|
||||
case SPI_GETICONTITLELOGFONT:
|
||||
{
|
||||
/* FIXME GetProfileString32A( "?", "?", "?" ) */
|
||||
LPLOGFONT32W lpLogFont = (LPLOGFONT32W)lpvParam;
|
||||
GetProfileString32A("Desktop", "IconTitleFaceName", "MS Sans Serif",
|
||||
buffer, sizeof(buffer) );
|
||||
lstrcpynAtoW(lpLogFont->lfFaceName, buffer ,LF_FACESIZE);
|
||||
lpLogFont->lfHeight = 10;
|
||||
lpLogFont->lfWidth = 0;
|
||||
lpLogFont->lfEscapement = lpLogFont->lfOrientation = 0;
|
||||
|
Loading…
x
Reference in New Issue
Block a user