Frank Richter : user: Fix SPI_SETICONTITLELOGFONT to check for LOGFONTW size.

Alexandre Julliard julliard at wine.codeweavers.com
Mon Aug 14 14:10:44 CDT 2006


Module: wine
Branch: master
Commit: b3399ad2e4b57e4ca4de6d02ab32ce5305aadf7d
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=b3399ad2e4b57e4ca4de6d02ab32ce5305aadf7d

Author: Frank Richter <frank.richter at gmail.com>
Date:   Mon Aug 14 20:10:23 2006 +0200

user: Fix SPI_SETICONTITLELOGFONT to check for LOGFONTW size.

---

 dlls/user/sysparams.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/user/sysparams.c b/dlls/user/sysparams.c
index 353e5f4..8bb2114 100644
--- a/dlls/user/sysparams.c
+++ b/dlls/user/sysparams.c
@@ -1478,7 +1478,7 @@ #define WINE_SPI_WARN(x) \
         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) {




More information about the wine-cvs mailing list