svg_loader: tvg styling applied to the code 30/289030/1
authorMira Grudzinska <m.grudzinska@samsung.com>
Tue, 25 Jan 2022 11:20:22 +0000 (12:20 +0100)
committerMichal Szczecinski <mihashco89@gmail.com>
Mon, 27 Feb 2023 09:56:46 +0000 (10:56 +0100)
Change-Id: I836926e52873e836c7dfdd64eae8ab56f0e4fe5d

src/loaders/svg/tvgXmlParser.cpp

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