cinera.c: Fix sizeof() on a string literal

This commit is contained in:
Matt Mascarenhas 2021-05-31 22:39:25 +01:00
parent af1bff4218
commit b0501d20ac
1 changed files with 2 additions and 2 deletions

View File

@ -23,7 +23,7 @@ typedef struct
version CINERA_APP_VERSION = {
.Major = 0,
.Minor = 8,
.Patch = 16
.Patch = 17
};
#include <stdarg.h> // NOTE(matt): varargs
@ -10772,7 +10772,7 @@ HMMLToBuffers(buffers *CollationBuffers, template *BespokeTemplate, string BaseF
NullTopic ? "title=\"Timestamps that don't fit into the above topic(s) may be filtered using this pseudo-topic\" " : "",
SanitisedMarker,
SanitisedMarker,
NullTopic ? (int)sizeof("(null topic)-1") : (int)This->Marker.Length,
NullTopic ? (int)sizeof("(null topic)")-1 : (int)This->Marker.Length,
NullTopic ? "(null topic)" : This->Marker.Base);
}
CopyStringToBuffer(&MenuBuffers.FilterTopics,