pkgsrc/misc/fbreader/patches/patch-ac
wiz 9449a7dc56 Initial import of fbreader-0.10.1:
FBReader is an e-book reader for various platforms.

Main features:
  * Supported formats are
       * fb2 e-book format (style attributes are not supported yet).
       * HTML format (tables are not supported).
       * CHM format (tables are not supported).
       * plucker format (tables are not supported).
       * Palmdoc (aportis doc).
       * zTxt (Weasel format).
       * TCR (psion text) format.
       * RTF format (stylesheets and tables are not supported).
       * OEB format (css and tables are not supported).
       * OpenReader format (css and tables are not supported).
       * Non-DRM'ed mobipocket format (tables are not supported).
       * Plain text format.
  * Direct reading from tar, zip, gzip and bzip2 archives. (Multiple books
    in one archive are supported.)
  * Automatic library building.
  * Automatic language and character encoding detection is supported.
  * Automatically generated contents table.
  * Embedded images support.
  * Footnotes/hyperlinks support.
  * Position indicator.
  * Keeps the last open book and the last read positions for all opened
    books between runs.
  * List of last opened books.
  * Automatic hyphenations.
  * Text search.
  * Full-screen mode.
  * Screen rotation by 90, 180 and 270 degrees.
2009-01-18 17:39:37 +00:00

22 lines
642 B
Text

$NetBSD: patch-ac,v 1.1.1.1 2009/01/18 17:39:37 wiz Exp $
--- fbreader/src/formats/fb2/FB2BookReader.cpp.orig 2008-03-22 13:00:31.000000000 +0000
+++ fbreader/src/formats/fb2/FB2BookReader.cpp
@@ -65,7 +65,7 @@ void FB2BookReader::startElementHandler(
myModelReader.addHyperlinkLabel(id);
}
switch (tag) {
- case _P:
+ case _PP:
if (mySectionStarted) {
mySectionStarted = false;
} else if (myInsideTitle) {
@@ -218,7 +218,7 @@ void FB2BookReader::startElementHandler(
void FB2BookReader::endElementHandler(int tag) {
switch (tag) {
- case _P:
+ case _PP:
myModelReader.endParagraph();
break;
case _V: