setsize -> shrink
setsizenodelete -> setsize deletecontentsa -> deletearrays deletecontentsp -> deletecontents vrealloc -> growbuf git-svn-id: svn://svn.code.sf.net/p/actiongame/code/trunk/ac@4787 e016b1c5-ed68-44aa-a2f7-31cac88cffde
This commit is contained in:
+2
-2
@@ -594,7 +594,7 @@ int msectionsort(const msection *a, const msection *b)
|
||||
void renderdocsection(void *menu, bool init)
|
||||
{
|
||||
static vector<msection> msections;
|
||||
msections.setsize(0);
|
||||
msections.shrink(0);
|
||||
|
||||
loopv(sections)
|
||||
{
|
||||
@@ -618,7 +618,7 @@ struct maction { string cmd; };
|
||||
void renderdocmenu(void *menu, bool init)
|
||||
{
|
||||
static vector<maction> actions;
|
||||
actions.setsize(0);
|
||||
actions.shrink(0);
|
||||
menureset(menu);
|
||||
loopv(sections)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user