Bug 178028 - CBZ archives fail with "Unknown ComicBook format" error
Summary: CBZ archives fail with "Unknown ComicBook format" error
Status: RESOLVED FIXED
Alias: None
Product: okular
Classification: Applications
Component: Comicbook backend (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Okular developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-12-18 02:14 UTC by Michal Ziabkowski
Modified: 2008-12-18 02:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
Fixes logic error in comicbook/document.cpp (699 bytes, patch)
2008-12-18 02:15 UTC, Michal Ziabkowski
Details

Note You need to log in before you can comment on or make changes to this bug.
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