mirror of
https://github.com/gryf/wmaker.git
synced 2026-10-09 11:12:29 +02:00
Some fixes over 0.51.2-pre2, in WINGs, wwindow.c, and FAQ
This commit is contained in:
1 parent
1160cbdb9d
commit
ea5d3bcde3
6 files changed
+78
-75
No files matched your search
@@ -366,7 +366,7 @@ WInsertMenuItemWithTitle(WEditMenu *mPtr, char *title, int index)
|
||||
index = mPtr->itemCount;
|
||||
|
||||
if (mPtr->itemCount == mPtr->itemsAlloced) {
|
||||
WEditMenuItem *newList;
|
||||
WEditMenuItem **newList;
|
||||
|
||||
newList = wmalloc(sizeof(WEditMenuItem*)*(mPtr->itemsAlloced+10));
|
||||
memset(newList, 0, sizeof(WEditMenuItem*)*(mPtr->itemsAlloced+10));
|
||||
|
||||
Reference in new issue
Block a user