Ignore:
Timestamp:
Nov 3, 1999, 7:19:29 PM (26 years ago)
Author:
phaller
Message:

Fix: TrackPopupMenuEx lpPM can be NULL

File:
1 edited

Legend:

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

    r1499 r1573  
    1 /* $Id: winmenu.cpp,v 1.12 1999-10-28 19:09:17 sandervl Exp $ */
     1/* $Id: winmenu.cpp,v 1.13 1999-11-03 18:16:19 phaller Exp $ */
    22
    33/*
     
    558558
    559559    dprintf(("USER32:  TrackPopupMenuEx, not completely implemented\n"));
    560     if(lpPM->cbSize != 0)
     560
     561    if (lpPM != NULL) // this parameter can be NULL
     562      if(lpPM->cbSize != 0)
    561563        rect = &lpPM->rcExclude;
    562564
Note: See TracChangeset for help on using the changeset viewer.