1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-02-10 02:25:46 +01:00

fixed hashtable crash bug with WMStringHashCallbacks

This commit is contained in:
kojima
1999-09-17 22:10:28 +00:00
parent d565c36ef9
commit 0e263f7394
3 changed files with 144 additions and 6 deletions

View File

@@ -163,7 +163,11 @@ WMAddSortedListItem(WMList *lPtr, char *text)
tmp->nextPtr = item;
}
}
if (index < lPtr->fullFitLines+lPtr->flags.dontFitAll-lPtr->topItem) {
paintList(lPtr);
}
lPtr->itemCount++;
if (lPtr->selectedItem >= index)
@@ -216,6 +220,10 @@ WMInsertListItem(WMList *lPtr, int row, char *text)
tmp->nextPtr = item;
}
if (row < lPtr->fullFitLines+lPtr->flags.dontFitAll-lPtr->topItem) {
paintList(lPtr);
}
lPtr->itemCount++;
/* update the scroller when idle, so that we don't waste time