Permalink
Browse files

fixed opf processing for files with declared opf: prefix

  • Loading branch information...
1 parent 213582d commit 498097032376d5077f82c5a18e205895bcd3f45d @geometer committed May 16, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 jni/NativeFormats/fbreader/src/formats/oeb/OEBBookReader.cpp
@@ -50,7 +50,7 @@ static const std::string COVER = "cover";
static const std::string COVER_IMAGE = "other.ms-coverimage-standard";
bool OEBBookReader::isOPFTag(const std::string &expected, const std::string &tag) const {
- return expected == tag && testTag(ZLXMLNamespace::OpenPackagingFormat, expected, tag);
+ return expected == tag || testTag(ZLXMLNamespace::OpenPackagingFormat, expected, tag);
}
void OEBBookReader::startElementHandler(const char *tag, const char **xmlattributes) {

0 comments on commit 4980970

Please sign in to comment.