Merge remote-tracking branch 'SIELA1915/friend_list_groups_and_notes' into yubo

merge-requests/7/merge
Ulukyn 4 years ago
commit f3c9128344

@ -546,8 +546,10 @@ void CPeopleList::readContactGroups()
uint nb = 0; uint nb = 0;
while (node) while (node)
{ {
CXMLAutoPtr propName = xmlGetProp(node, (xmlChar*)"name"); CXMLAutoPtr propName;
CXMLAutoPtr propGroup = xmlGetProp(node, (xmlChar*)"group"); propName = (char*) xmlGetProp(node, (xmlChar*)"name");
CXMLAutoPtr propGroup;
propGroup = (char*) xmlGetProp(node, (xmlChar*)"group");
if (propName && propGroup) if (propName && propGroup)
{ {
sint index = getIndexFromName(propName.str()); sint index = getIndexFromName(propName.str());

Loading…
Cancel
Save