mirror of
https://github.com/thorvg/thorvg.git
synced 2025-06-15 04:24:28 +00:00
svg_loader: Fixed a typo
lenght ->length
This commit is contained in:
parent
9859a48714
commit
dc822174e8
1 changed files with 1 additions and 1 deletions
|
@ -724,7 +724,7 @@ static bool _attrParseSvgNode(void* data, const char* key, const char* value)
|
||||||
SvgDocNode* doc = &(node->node.doc);
|
SvgDocNode* doc = &(node->node.doc);
|
||||||
SvgLengthType type;
|
SvgLengthType type;
|
||||||
|
|
||||||
//@TODO handle lenght unit.
|
//TODO: handle length unit.
|
||||||
if (!strcmp(key, "width")) {
|
if (!strcmp(key, "width")) {
|
||||||
doc->w = _parseLength(value, &type);
|
doc->w = _parseLength(value, &type);
|
||||||
} else if (!strcmp(key, "height")) {
|
} else if (!strcmp(key, "height")) {
|
||||||
|
|
Loading…
Add table
Reference in a new issue