Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/lexborisov/Modest.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander <lex.borisov@gmail.com>2020-01-08 16:40:18 +0300
committerAlexander <lex.borisov@gmail.com>2020-01-08 16:40:18 +0300
commita7ce974123f08a630e4c7f7abaa38f7314e2b825 (patch)
treeac95e805122792ccdb02b62560f4fa1cfd51e9c0
parent4c03bfc2a04763d803e6a23eb10605e864ad1f59 (diff)
Fixed myhtml_token_node_attribute_last() for return last attribute.
-rw-r--r--source/myhtml/token.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/myhtml/token.c b/source/myhtml/token.c
index 0dcaa97..73d1e1a 100644
--- a/source/myhtml/token.c
+++ b/source/myhtml/token.c
@@ -227,7 +227,7 @@ myhtml_tree_attr_t * myhtml_token_node_attribute_first(myhtml_token_node_t *toke
myhtml_tree_attr_t * myhtml_token_node_attribute_last(myhtml_token_node_t *token_node)
{
- return token_node->attr_first;
+ return token_node->attr_last;
}
const char * myhtml_token_node_text(myhtml_token_node_t *token_node, size_t *length)