mirror of
https://github.com/Ed94/metadesk.git
synced 2026-10-14 04:49:42 -07:00
fix bug with child/tag-from-index, in accordance with opl change
This commit is contained in:
1 parent
359456fbc6
commit
33bde8cc2f
1 file changed
+2
-2
+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