cinera.c: Add <div> to match closing </div>
This commit is contained in:
parent
18b39b9f72
commit
3e0ba0b77b
|
@ -17,7 +17,7 @@ typedef struct
|
|||
version CINERA_APP_VERSION = {
|
||||
.Major = 0,
|
||||
.Minor = 7,
|
||||
.Patch = 4
|
||||
.Patch = 5
|
||||
};
|
||||
|
||||
#include <stdarg.h> // NOTE(matt): varargs
|
||||
|
@ -9958,6 +9958,8 @@ AppendedIdentifier:
|
|||
CopyStringToBuffer(&PlayerBuffers.Script,
|
||||
"\"></script>");
|
||||
|
||||
CopyStringToBuffer(&CollationBuffers->Player, "<div>\n"
|
||||
" ");
|
||||
CopyLandmarkedBuffer(&CollationBuffers->Player, &PlayerBuffers.Menus, 0, PAGE_PLAYER);
|
||||
CopyStringToBuffer(&CollationBuffers->Player, "\n"
|
||||
" ");
|
||||
|
@ -9965,7 +9967,7 @@ AppendedIdentifier:
|
|||
CopyStringToBuffer(&CollationBuffers->Player, "\n"
|
||||
" ");
|
||||
CopyStringToBuffer(&CollationBuffers->Player, "</div>\n"
|
||||
" ");
|
||||
" ");
|
||||
CopyLandmarkedBuffer(&CollationBuffers->Player, &PlayerBuffers.Script, 0, PAGE_PLAYER);
|
||||
|
||||
// NOTE(matt): Tree structure of "global" buffer dependencies
|
||||
|
@ -10277,9 +10279,6 @@ BuffersToHTML(buffers *CollationBuffers, template *Template, char *OutputPath, p
|
|||
" ");
|
||||
if(PageType == PAGE_PLAYER)
|
||||
{
|
||||
CopyStringToBuffer(&Master, "<div>\n"
|
||||
" ");
|
||||
|
||||
CopyLandmarkedBuffer(&Master, &CollationBuffers->Player, PlayerOffset, PageType);
|
||||
MEM_TEST_MID("BuffersToHTML9");
|
||||
CopyStringToBuffer(&Master, "\n");
|
||||
|
|
Loading…
Reference in New Issue