mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 03:02:30 +02:00
fixed hashtable crash bug with WMStringHashCallbacks
This commit is contained in:
1 parent
d565c36ef9
commit
0e263f7394
3 files changed
+144
-6
No files matched your search
+9
-1
@@ -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
|
||||
|
||||
Reference in new issue
Block a user