Sysmetrics32W for SPI_GETICONTITLELOGFONT returns correct fontname.

This commit is contained in:
Juergen Schmied 1998-10-23 13:31:32 +00:00 committed by Alexandre Julliard
parent cba848847b
commit 4659741056

View file

@ -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;