mirror of
https://github.com/isledecomp/actionheadergen.git
synced 2025-02-17 00:21:20 -05:00
don't write comma on split
This commit is contained in:
parent
e03e14f4e4
commit
ade9bd1d3f
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ bool HeaderGenerator::WriteHeader(char *p_interleafName, std::map<size_t, std::s
|
|||
|
||||
// actually write the enum entry
|
||||
m_fout << "\t" << g_enumEntryPrefix << it->second << " = " << it->first;
|
||||
if (!isLast) {
|
||||
if (!isLast && i != 1999) {
|
||||
// if there are still more entries, we need write a comma
|
||||
m_fout << ",";
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue