mirror of
https://github.com/Ed94/metadesk.git
synced 2026-06-13 07:52:22 -07:00
fix bug with child/tag-from-index, in accordance with opl change
This commit is contained in:
+2
-2
@@ -2112,13 +2112,13 @@ MD_TagFromString(MD_Node *node, MD_String8 tag_string, MD_MatchFlags flags)
|
||||
MD_FUNCTION_IMPL MD_Node *
|
||||
MD_ChildFromIndex(MD_Node *node, int n)
|
||||
{
|
||||
return MD_NodeFromIndex(node->first_child, node->last_child, n);
|
||||
return MD_NodeFromIndex(node->first_child, MD_NilNode(), n);
|
||||
}
|
||||
|
||||
MD_FUNCTION_IMPL MD_Node *
|
||||
MD_TagFromIndex(MD_Node *node, int n)
|
||||
{
|
||||
return MD_NodeFromIndex(node->first_child, node->last_child, n);
|
||||
return MD_NodeFromIndex(node->first_child, MD_NilNode(), n);
|
||||
}
|
||||
|
||||
MD_FUNCTION_IMPL MD_Node *
|
||||
|
||||
Reference in New Issue
Block a user