mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-14 12:55:47 +01:00
replaced linked list with WMBag in WMList
replaced WMAddSorted*** with WMSort*** fixed crash bug in icon chooser
This commit is contained in:
@@ -748,12 +748,13 @@ listFamilies(WMScreen *scr, WMFontPanel *panel)
|
||||
strcat(buffer, fam->encoding);
|
||||
strcat(buffer, ")");
|
||||
}
|
||||
item = WMAddSortedListItem(panel->famLs, buffer);
|
||||
item = WMAddListItem(panel->famLs, buffer);
|
||||
|
||||
item->clientData = fam;
|
||||
}
|
||||
WMFreeBag(bag);
|
||||
}
|
||||
WMSortListItems(panel->famLs);
|
||||
|
||||
WMFreeHashTable(families);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user