cinera.c: Increase AnnotationHeader buffer size
This commit is contained in:
		
							parent
							
								
									d37a39af32
								
							
						
					
					
						commit
						9b26d109be
					
				| 
						 | 
					@ -17,7 +17,7 @@ typedef struct
 | 
				
			||||||
version CINERA_APP_VERSION = {
 | 
					version CINERA_APP_VERSION = {
 | 
				
			||||||
    .Major = 0,
 | 
					    .Major = 0,
 | 
				
			||||||
    .Minor = 6,
 | 
					    .Minor = 6,
 | 
				
			||||||
    .Patch = 4
 | 
					    .Patch = 5
 | 
				
			||||||
};
 | 
					};
 | 
				
			||||||
 | 
					
 | 
				
			||||||
#include <stdarg.h> // NOTE(matt): varargs
 | 
					#include <stdarg.h> // NOTE(matt): varargs
 | 
				
			||||||
| 
						 | 
					@ -4892,7 +4892,7 @@ HMMLToBuffers(buffers *CollationBuffers, template *BespokeTemplate, char *Filena
 | 
				
			||||||
 | 
					
 | 
				
			||||||
            // TODO(matt): Shouldn't all of these guys DeclaimBuffer() before returning?
 | 
					            // TODO(matt): Shouldn't all of these guys DeclaimBuffer() before returning?
 | 
				
			||||||
            if(ClaimBuffer(&Annotation, "Annotation", Kilobytes(8)) == RC_ARENA_FULL) { hmml_free(&HMML); return RC_ARENA_FULL; };
 | 
					            if(ClaimBuffer(&Annotation, "Annotation", Kilobytes(8)) == RC_ARENA_FULL) { hmml_free(&HMML); return RC_ARENA_FULL; };
 | 
				
			||||||
            if(ClaimBuffer(&AnnotationHeader, "AnnotationHeader", 512) == RC_ARENA_FULL) { hmml_free(&HMML); return RC_ARENA_FULL; };
 | 
					            if(ClaimBuffer(&AnnotationHeader, "AnnotationHeader", Kilobytes(1)) == RC_ARENA_FULL) { hmml_free(&HMML); return RC_ARENA_FULL; };
 | 
				
			||||||
            if(ClaimBuffer(&AnnotationClass, "AnnotationClass", 256) == RC_ARENA_FULL) { hmml_free(&HMML); return RC_ARENA_FULL; };
 | 
					            if(ClaimBuffer(&AnnotationClass, "AnnotationClass", 256) == RC_ARENA_FULL) { hmml_free(&HMML); return RC_ARENA_FULL; };
 | 
				
			||||||
            if(ClaimBuffer(&AnnotationData, "AnnotationData", 512) == RC_ARENA_FULL) { hmml_free(&HMML); return RC_ARENA_FULL; };
 | 
					            if(ClaimBuffer(&AnnotationData, "AnnotationData", 512) == RC_ARENA_FULL) { hmml_free(&HMML); return RC_ARENA_FULL; };
 | 
				
			||||||
            if(ClaimBuffer(&Text, "Text", Kilobytes(4)) == RC_ARENA_FULL) { hmml_free(&HMML); return RC_ARENA_FULL; };
 | 
					            if(ClaimBuffer(&Text, "Text", Kilobytes(4)) == RC_ARENA_FULL) { hmml_free(&HMML); return RC_ARENA_FULL; };
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue