summaryrefslogtreecommitdiff
path: root/libvisio/libvisio-0.0.25.patch
blob: 6294548d1d8fafdf976f662c4c8f143d626f2c26 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- a/src/lib/VSDContentCollector.cpp
+++ b/src/lib/VSDContentCollector.cpp
@@ -2920,10 +2920,8 @@ void libvisio::VSDContentCollector::appendCharacters(WPXString &text, const std:
     while (true)
     {
       if (iter == characters.end())
-      {
-        fail = true;
         break;
-      }
+
       uint16_t character = *iter++;
       character |= (uint16_t)(*iter++) << 8;
       if (character == 0xfffc)