user32: Fix a bug in computing the maximum depth of a branch in a menu hierarchy.
commit06b99c62c20f1ddb2cc739e1790baf67dd71294b
authorRein Klazes <wijn@online.nl>
Wed, 12 Aug 2009 05:11:04 +0000 (12 07:11 +0200)
committerAlexandre Julliard <julliard@winehq.org>
Wed, 12 Aug 2009 10:53:42 +0000 (12 12:53 +0200)
treeeed4b72f1e6287fcfc5f60bef64384cf3df7a756
parent32e3539413e6383dbf91934ec5395a68282ae760
user32: Fix a bug in computing the maximum depth of a branch in a menu hierarchy.

It was computing the number of submenus in the branch, rather then the
maximum depth.
dlls/user32/menu.c