Ignore:
Timestamp:
Aug 15, 2002, 5:45:46 PM (23 years ago)
Author:
sandervl
Message:

SPI_GETNONCLIENTMETRICS size check extended & Fixed RMB on icon of minimized mdi window

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/user32/user32.cpp

    r8978 r9008  
    1 /* $Id: user32.cpp,v 1.123 2002-08-09 11:19:56 sandervl Exp $ */
     1/* $Id: user32.cpp,v 1.124 2002-08-15 15:45:46 sandervl Exp $ */
    22
    33/*
     
    737737        LPNONCLIENTMETRICSA lpnm = (LPNONCLIENTMETRICSA)pvParam;
    738738               
    739         if (lpnm->cbSize == sizeof(NONCLIENTMETRICSA))
     739        if (lpnm->cbSize == sizeof(NONCLIENTMETRICSA) || uiParam == sizeof(NONCLIENTMETRICSA))
    740740        {
    741741            memset(lpnm, 0, sizeof(NONCLIENTMETRICSA));
Note: See TracChangeset for help on using the changeset viewer.