Re: [5/5] shdocvw: Recurse into directories when adding Favorites
2 Aug
2010
2 Aug
'10
11:54 a.m.
Alexander Nicolaysen Sørnes <alex(a)thehandofagony.com> writes:
@@ -109,10 +109,10 @@ static void add_fav_to_menu(HMENU menu, LPWSTR title, LPCWSTR url) { MENUITEMINFOW item; /* Subtract the number of standard elements in the Favorites menu */ - INT favcount = GetMenuItemCount(menu) - 2; + static INT favcount; LPWSTR urlbuf;
The previous version was better, you don't want a static variable for this, you may want to do it multiple times, or the menu may get changed somewhere else. -- Alexandre Julliard julliard(a)winehq.org
5613
Age (days ago)
5613
Last active (days ago)
0 comments
1 participants
participants (1)
-
Alexandre Julliard