mirror of
https://github.com/thorvg/thorvg.git
synced 2025-07-28 09:05:52 +00:00
fix typo
This commit is contained in:
parent
aedd3afd00
commit
135e6c872b
2 changed files with 3 additions and 3 deletions
|
@ -1050,7 +1050,7 @@ static SvgNode* _createMaskNode(SvgLoaderData* loader, SvgNode* parent, const ch
|
||||||
|
|
||||||
loader->svgParse->node->display = false;
|
loader->svgParse->node->display = false;
|
||||||
#ifdef THORVG_LOG_ENABLED
|
#ifdef THORVG_LOG_ENABLED
|
||||||
printf("SVG: Unsuppoted elements used [Elements: mask]\n");
|
printf("SVG: Unsupported elements used [Elements: mask]\n");
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
return loader->svgParse->node;
|
return loader->svgParse->node;
|
||||||
|
@ -2131,7 +2131,7 @@ static void _svgLoaderParserXmlOpen(SvgLoaderData* loader, const char* content,
|
||||||
}
|
}
|
||||||
#ifdef THORVG_LOG_ENABLED
|
#ifdef THORVG_LOG_ENABLED
|
||||||
else {
|
else {
|
||||||
printf("SVG: Unsuppoted elements used [Elements: %s]\n", tagName);
|
printf("SVG: Unsupported elements used [Elements: %s]\n", tagName);
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
|
@ -186,7 +186,7 @@ bool simpleXmlParseAttributes(const char* buf, unsigned bufLength, simpleXMLAttr
|
||||||
tval[valueEnd - value] = '\0';
|
tval[valueEnd - value] = '\0';
|
||||||
|
|
||||||
#ifdef THORVG_LOG_ENABLED
|
#ifdef THORVG_LOG_ENABLED
|
||||||
if (!func((void*)data, tmpBuf, tval)) printf("SVG: Unsuppoted attributes used [Elements type: %s][Attribute: %s]\n", nodeTypeToString(((SvgLoaderData*)data)->svgParse->node->type).c_str(), tmpBuf);
|
if (!func((void*)data, tmpBuf, tval)) printf("SVG: Unsupported attributes used [Elements type: %s][Attribute: %s]\n", nodeTypeToString(((SvgLoaderData*)data)->svgParse->node->type).c_str(), tmpBuf);
|
||||||
#else
|
#else
|
||||||
func((void*)data, tmpBuf, tval);
|
func((void*)data, tmpBuf, tval);
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Add table
Reference in a new issue