Patch level :2.2 214

Files correlati     :
Ricompilazione Demo : [ ]
Commento            :eliminato il problema di vecchi preferiti inesistenti


git-svn-id: svn://10.65.10.50/trunk@13477 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
luca 2005-11-08 16:44:19 +00:00
parent 632f20b8a1
commit 5a7ab32c43

View File

@ -1665,7 +1665,8 @@ void TMenu_application::update_preferred_tree()
if (sm != NULL)
{
const int num = node.get_int(1);
pref->add(new TMenuitem(sm->item(num)));
if (num < sm->items())
pref->add(new TMenuitem(sm->item(num)));
}
}
}