mirror of
https://github.com/ddnet/ddnet.git
synced 2024-11-10 10:08:18 +00:00
Fix a severe bug with config saving
Thought I had fixed that long ago...
This commit is contained in:
parent
a945cca8a5
commit
7d9228f3d5
|
@ -273,6 +273,7 @@ int CEditorMap::Save(class IStorage *pStorage, const char *pFileName)
|
|||
{
|
||||
int Length = str_length(m_lSettings[i].m_aCommand) + 1;
|
||||
mem_copy(pNext, m_lSettings[i].m_aCommand, Length);
|
||||
pNext += Length;
|
||||
}
|
||||
Item.m_Settings = df.AddData(Size, pSettings);
|
||||
mem_free(pSettings);
|
||||
|
|
Loading…
Reference in a new issue