mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 08:52:57 +00:00
PackageManager: Cmdline fix
svn path=/trunk/; revision=14580
This commit is contained in:
parent
0ba6cce82a
commit
c1a2f01875
4 changed files with 28 additions and 11 deletions
|
@ -99,7 +99,8 @@ void tree_start (void* usrdata, const char* tag, const char** arg)
|
|||
// do some manipulation at the parent
|
||||
else
|
||||
{
|
||||
tree->addItem(id, tree->packages[id].name, parents.back(), icon);
|
||||
if(tree->addItem)
|
||||
tree->addItem(id, tree->packages[id].name, parents.back(), icon);
|
||||
|
||||
// list as child in the parent node
|
||||
tree->packages[parents.back()].children.push_back(id);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue