Changeset 1612 for trunk/src/user32/winmenu.cpp
- Timestamp:
- Nov 5, 1999, 1:54:11 PM (26 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/user32/winmenu.cpp
r1573 r1612 1 /* $Id: winmenu.cpp,v 1.1 3 1999-11-03 18:16:19 phallerExp $ */1 /* $Id: winmenu.cpp,v 1.14 1999-11-05 12:54:11 sandervl Exp $ */ 2 2 3 3 /* … … 725 725 LPCSTR, str) 726 726 { 727 dprintf(("USER32: InsertMenuA %x %d %x %d %s", hMenu, pos, flags, id, str)); 728 if(hMenu == 0) 729 { 730 SetLastError(ERROR_INVALID_PARAMETER); 731 return 0; 732 } 733 734 if(!str || *str == NULL) { 727 if(IS_STRING_ITEM(flags) && HIWORD(str)) { 728 dprintf(("USER32: InsertMenuA %x %d %x %d %s", hMenu, pos, flags, id, str)); 729 } 730 else dprintf(("USER32: InsertMenuA %x %d %x %d %x", hMenu, pos, flags, id, str)); 731 732 if(hMenu == 0) 733 { 734 SetLastError(ERROR_INVALID_PARAMETER); 735 return 0; 736 } 737 738 if(IS_STRING_ITEM(flags) && (!str || *str == NULL)) { 735 739 flags |= MF_SEPARATOR; 736 740 }
Note:
See TracChangeset
for help on using the changeset viewer.