mirror of
https://github.com/reactos/reactos.git
synced 2026-05-31 08:17:09 +08:00
fix GPF for clicks in the favorites folder
svn path=/trunk/; revision=12359
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user