cinera.c: Fix sizeof() on a string literal
This commit is contained in:
parent
af1bff4218
commit
b0501d20ac
|
@ -23,7 +23,7 @@ typedef struct
|
||||||
version CINERA_APP_VERSION = {
|
version CINERA_APP_VERSION = {
|
||||||
.Major = 0,
|
.Major = 0,
|
||||||
.Minor = 8,
|
.Minor = 8,
|
||||||
.Patch = 16
|
.Patch = 17
|
||||||
};
|
};
|
||||||
|
|
||||||
#include <stdarg.h> // NOTE(matt): varargs
|
#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\" " : "",
|
NullTopic ? "title=\"Timestamps that don't fit into the above topic(s) may be filtered using this pseudo-topic\" " : "",
|
||||||
SanitisedMarker,
|
SanitisedMarker,
|
||||||
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);
|
NullTopic ? "(null topic)" : This->Marker.Base);
|
||||||
}
|
}
|
||||||
CopyStringToBuffer(&MenuBuffers.FilterTopics,
|
CopyStringToBuffer(&MenuBuffers.FilterTopics,
|
||||||
|
|
Loading…
Reference in New Issue