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

fixed misc bugs

This commit is contained in:
kojima
2000-04-02 00:04:06 +00:00
parent ead4f5d3e1
commit 449a5fde76
9 changed files with 34 additions and 11 deletions

View File

@@ -366,7 +366,7 @@ WMBag *WMCreateTreeBagWithDestructor(void (*destructor)(void*));
/* this is slow */
/* erase will remove the element from the bag,
* but will keep the index of the other elements unchanged */
#define WMEraseFromBag(bag, index) bag->func.deleteFromBag(bag, index)
#define WMEraseFromBag(bag, index) bag->func.eraseFromBag(bag, index)
/* delete and remove will remove the elements and cause the elements
* after them to decrement their indexes by 1 */