mirror of
https://github.com/ZDoom/Raze.git
synced 2024-11-15 17:01:28 +00:00
tabs -> spaces
git-svn-id: https://svn.eduke32.com/eduke32@6539 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
cba4b950ef
commit
a66703b01a
1 changed files with 15 additions and 15 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue