fix GPF for clicks in the favorites folder

svn path=/trunk/; revision=12359
This commit is contained in:
Martin Fuchs 2004-12-27 13:54:19 +00:00
parent 7a1b4194e2
commit d8d3883496

View file

@ -2113,8 +2113,11 @@ int FavoritesMenu::Command(int id, int code)
Bookmark& bookmark = *node._pbookmark;
String url = bookmark._url;
HWND hparent = GetParent(_hwnd);
CloseStartMenu(id);
launch_file(GetParent(_hwnd), url, SW_SHOWNORMAL);
launch_file(hparent, url, SW_SHOWNORMAL);
}
return 0;