mirror of
https://github.com/lexborisov/Modest
synced 2024-11-21 21:31:25 +03:00
Fix code formatting
This commit is contained in:
parent
a59a78e8ea
commit
27cd592b9b
@ -429,8 +429,9 @@ myhtml_collection_t * myhtml_get_nodes_by_tag_id_in_scope(myhtml_tree_t* tree, m
|
||||
myhtml_collection_t * myhtml_get_nodes_by_name_in_scope(myhtml_tree_t* tree, myhtml_collection_t *collection, myhtml_tree_node_t *node, const char* html, size_t length, mystatus_t *status)
|
||||
{
|
||||
const myhtml_tag_context_t *tag_ctx = myhtml_tag_get_by_name(tree->tags, html, length);
|
||||
if(!tag_ctx)
|
||||
if(tag_ctx == NULL) {
|
||||
return NULL;
|
||||
}
|
||||
return myhtml_get_nodes_by_tag_id_in_scope(tree, collection, node, tag_ctx->id, status);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user