You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libvisio/0001-Fix-endless-loop-with-...

25 lines
776 B

From c3784a67af37d19af916771afa49b9a83ae7ac32 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Fridrich=20=C5=A0trba?= <fridrich.strba@bluewin.ch>
Date: Tue, 24 Jul 2012 09:53:36 +0200
Subject: [PATCH 1/2] Fix endless loop with text fields in VSD6
---
src/lib/VSDXContentCollector.cpp | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/lib/VSDXContentCollector.cpp b/src/lib/VSDXContentCollector.cpp
index d1ae0b6..577afc3 100644
--- a/src/lib/VSDXContentCollector.cpp
+++ b/src/lib/VSDXContentCollector.cpp
@@ -2648,6 +2648,7 @@ void libvisio::VSDXContentCollector::appendCharacters(WPXString &text, const std
text.append(m_fields[m_fieldIndex++].cstr());
else
m_fieldIndex++;
+ ++iter;
}
else if (*iter < 0x20)
{
--
1.7.10.2