[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    [calligra/export-epub-moji] filters/words/epub/libepub: Fix playOrder when there are several chapter
From:       Inge Wallin <inge () lysator ! liu ! se>
Date:       2012-07-31 22:25:29
Message-ID: 20120731222529.61AF6A6094 () git ! kde ! org
[Download RAW message or body]

Git commit 0fc258a230c878231bd905b2e90b599a8de63184 by Inge Wallin.
Committed on 01/08/2012 at 00:25.
Pushed by ingwa into branch 'export-epub-moji'.

Fix playOrder when there are several chapters.

M  +2    -1    filters/words/epub/libepub/EpubFile.cpp

http://commits.kde.org/calligra/0fc258a230c878231bd905b2e90b599a8de63184

diff --git a/filters/words/epub/libepub/EpubFile.cpp b/filters/words/epub/libepub/EpubFile.cpp
index eda90ff..c7cb34d 100644
--- a/filters/words/epub/libepub/EpubFile.cpp
+++ b/filters/words/epub/libepub/EpubFile.cpp
@@ -373,8 +373,9 @@ KoFilter::ConversionStatus EpubFile::writeNcx(KoStore *epubStore,
             writer->endElement(); // content
 
             writer->endElement(); // navePoint
+
+            playOrder++;
         }
-        playOrder++;
     }
 
 
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic