mirror of
https://github.com/Ed94/metadesk.git
synced 2026-08-01 04:10:05 +00:00
move to _COUNT instead of _MAX
This commit is contained in:
+1
-1
@@ -629,7 +629,7 @@ MD_FUNCTION_IMPL MD_String8
|
||||
MD_StringFromNodeKind(MD_NodeKind kind)
|
||||
{
|
||||
// NOTE(rjf): Must be kept in sync with MD_NodeKind enum.
|
||||
static char *cstrs[MD_NodeKind_MAX] =
|
||||
static char *cstrs[MD_NodeKind_COUNT] =
|
||||
{
|
||||
"Nil",
|
||||
"File",
|
||||
|
||||
Reference in New Issue
Block a user