tabs -> spaces

git-svn-id: https://svn.eduke32.com/eduke32@6539 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
terminx 2017-12-02 12:42:31 +00:00
parent cba4b950ef
commit a66703b01a

View file

@ -112,22 +112,22 @@ void SCRIPT_FreeSection(ScriptSectionType * section)
}
#define AllocSection(s) \
{ \
(s) = (ScriptSectionType *)Xmalloc(sizeof(ScriptSectionType)); \
(s)->name = NULL; \
(s)->entries = NULL; \
(s)->lastline = NULL; \
(s)->nextsection = (s); \
(s)->prevsection = (s); \
}
{ \
(s) = (ScriptSectionType *)Xmalloc(sizeof(ScriptSectionType)); \
(s)->name = NULL; \
(s)->entries = NULL; \
(s)->lastline = NULL; \
(s)->nextsection = (s); \
(s)->prevsection = (s); \
}
#define AllocEntry(e) \
{ \
(e) = (ScriptEntryType *)Xmalloc(sizeof(ScriptEntryType)); \
(e)->name = NULL; \
(e)->value = NULL; \
(e)->nextentry = (e); \
(e)->preventry = (e); \
}
{ \
(e) = (ScriptEntryType *)Xmalloc(sizeof(ScriptEntryType)); \
(e)->name = NULL; \
(e)->value = NULL; \
(e)->nextentry = (e); \
(e)->preventry = (e); \
}
ScriptSectionType * SCRIPT_SectionExists(int32_t scripthandle, const char * sectionname)
{