Commit b3399ad2 authored by Frank Richter's avatar Frank Richter Committed by Alexandre Julliard

user: Fix SPI_SETICONTITLELOGFONT to check for LOGFONTW size.

parent e1e02dfc
......@@ -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) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment