1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-06 05:44:11 +01:00

multiview and vertical splitview

some bug fixes
configurable default font size
etc
This commit is contained in:
kojima
1999-10-27 22:32:12 +00:00
parent 4e65111750
commit 94f4483dbd
34 changed files with 2756 additions and 1399 deletions

View File

@@ -130,15 +130,7 @@ WMCreateList(WMWidget *parent)
static int
comparator(const void *a, const void *b)
{
WMListItem *item1 = *(WMListItem**)a;
WMListItem *item2 = *(WMListItem**)b;
if (strcmp(item1->text, item2->text) < 0)
return -1;
else if (strcmp(item1->text, item2->text) > 0)
return 1;
else
return 0;
return (strcmp((*(WMListItem**)a)->text, (*(WMListItem**)b)->text));
}