user: Fix SPI_SETICONTITLELOGFONT to check for LOGFONTW size.

This commit is contained in:
Frank Richter 2006-08-14 20:10:23 +02:00 committed by Alexandre Julliard
parent e1e02dfcc2
commit b3399ad2e4
1 changed files with 1 additions and 1 deletions

View File

@ -1478,7 +1478,7 @@ BOOL WINAPI SystemParametersInfoW( UINT uiAction, UINT uiParam,
break;
case SPI_SETICONTITLELOGFONT: /* 34 */
if( uiParam == sizeof( ICONMETRICSW)) {
if( uiParam == sizeof(LOGFONTW)) {
ret = SYSPARAMS_SaveLogFont( SPI_SETICONTITLELOGFONT_REGKEY,
SPI_SETICONTITLELOGFONT_VALNAME, (LOGFONTW *)pvParam, fWinIni);
if( ret) {