mirror of
https://github.com/gryf/wmaker.git
synced 2026-02-22 01:45:46 +01:00
- Fixed small memory leak in the WINGs' font panel code.
- Fixed call to qsort in WMSortArray. - Fixed a memleak in the WINGs' file panel.
This commit is contained in:
@@ -831,15 +831,17 @@ getSelectedFont(FontPanel *panel, char buffer[], int bufsize)
|
||||
size = WMGetTextFieldText(panel->sizT);
|
||||
|
||||
snprintf(buffer, bufsize, "-%s-%s-%s-%s-%s-%s-%s-*-*-*-*-*-%s-%s",
|
||||
family->foundry,
|
||||
family->name,
|
||||
face->weight,
|
||||
face->slant,
|
||||
face->setWidth,
|
||||
face->addStyle,
|
||||
size,
|
||||
family->registry,
|
||||
family->encoding);
|
||||
family->foundry,
|
||||
family->name,
|
||||
face->weight,
|
||||
face->slant,
|
||||
face->setWidth,
|
||||
face->addStyle,
|
||||
size,
|
||||
family->registry,
|
||||
family->encoding);
|
||||
|
||||
wfree(size);
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user