shell32: handle -1 return for GetMenuItemCount in Shell_MergeMenus. (coverity 231) Also include some beginning unit tests for the Shell_MergeMenus.

Aric Stewart aric at codeweavers.com
Fri Jan 2 09:58:40 CST 2009


---
  dlls/shell32/shlmenu.c         |    3 +
  dlls/shell32/tests/Makefile.in |    1 +
  dlls/shell32/tests/shlmenu.c   |  128 
++++++++++++++++++++++++++++++++++++++++
  3 files changed, 132 insertions(+), 0 deletions(-)
  create mode 100644 dlls/shell32/tests/shlmenu.c


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 3fe46f5b5ec27e4022a336474c4dc0e99d08afae.diff
Type: text/x-patch
Size: 4786 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20090102/152345fb/attachment.bin 


More information about the wine-patches mailing list