Bug 178028

Summary: CBZ archives fail with "Unknown ComicBook format" error
Product: [Applications] okular Reporter: Michal Ziabkowski <mziab>
Component: Comicbook backendAssignee: Okular developers <okular-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: Fixes logic error in comicbook/document.cpp

Description Michal Ziabkowski 2008-12-18 02:14:29 UTC
Version:            (using Devel)
Compiler:          gcc version 4.1.2 (Gentoo 4.1.2 p1.1) 
OS:                Linux
Installed from:    Compiled sources

Commit 882007 introduced a trivial logic bug (one "if" where there should be an "else if") which causes "Unknown ComicBook format" with all CBZ archives. Attaching patch which resolves the issue.
Comment 1 Michal Ziabkowski 2008-12-18 02:15:30 UTC
Created attachment 29403 [details]
Fixes logic error in comicbook/document.cpp
Comment 2 Pino Toscano 2008-12-18 02:21:20 UTC
SVN commit 898354 by pino:

fix logic error
BUG: 178028


 M  +1 -1      document.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=898354
Comment 3 Pino Toscano 2008-12-18 02:22:15 UTC
SVN commit 898355 by pino:

backport: fix logic error
CCBUG: 178028


 M  +1 -1      document.cpp  


WebSVN link: http://websvn.kde.org/?view=rev&revision=898355