svg_loader: tvg styling applied to the code

This commit is contained in:
Mira Grudzinska 2022-01-25 12:20:22 +01:00 committed by Hermet Park
parent ed81446031
commit fbc596c09b

View file

@ -476,8 +476,7 @@ bool simpleXmlParseW3CAttribute(const char* buf, unsigned buflen, simpleXMLAttri
do { do {
char* sep = (char*)strchr(buf, ':'); char* sep = (char*)strchr(buf, ':');
next = (char*)strchr(buf, ';'); next = (char*)strchr(buf, ';');
if (sep >= end) if (sep >= end) {
{
next = nullptr; next = nullptr;
sep = nullptr; sep = nullptr;
} }