1
0
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:
dan
2003-04-02 11:37:04 +00:00
parent 5f79f1bcde
commit f058fdf72c
36 changed files with 54 additions and 78 deletions

View File

@@ -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);
}