summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2012-07-25 19:09:12 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2012-07-25 19:09:12 +0200
commit84624677f12d31f0033aeea30bf60a82884caa5d (patch)
treec5f36e2f2ed8621c1aa5b1c5e2aa0c6ab40d0e9e
parent4b1270f57e0b7e4d5252edc4a4590ffd98759a7d (diff)
Handle 0x8* and 0xd* streams in an equivalent way
-rw-r--r--src/lib/VSDXParser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/VSDXParser.cpp b/src/lib/VSDXParser.cpp
index 43584e6..493635e 100644
--- a/src/lib/VSDXParser.cpp
+++ b/src/lib/VSDXParser.cpp
@@ -194,7 +194,7 @@ void libvisio::VSDXParser::handleStream(const Pointer &ptr, unsigned idx, unsign
break;
}
- if ((ptr.Format >> 4) == 0xd)
+ if ((ptr.Format >> 4) == 0xd || (ptr.Format >> 4) == 0x8)
handleChunks(&tmpInput, level+1);
else if ((ptr.Format >> 4) == 0x5)
handleStreams(&tmpInput, shift, level+1);