Diffstat (limited to 'noncore/apps/opie-reader/Bkmks.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/Bkmks.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/opie-reader/Bkmks.cpp b/noncore/apps/opie-reader/Bkmks.cpp index 16bc1f1..480c240 100644 --- a/noncore/apps/opie-reader/Bkmks.cpp +++ b/noncore/apps/opie-reader/Bkmks.cpp | |||
@@ -208,33 +208,33 @@ CList<Bkmk>* BkmkFile::readall() | |||
208 | fseek(f,0,SEEK_SET); | 208 | fseek(f,0,SEEK_SET); |
209 | bl = readall00(&read03); | 209 | bl = readall00(&read03); |
210 | } | 210 | } |
211 | isUpgraded = true; | 211 | isUpgraded = true; |
212 | } | 212 | } |
213 | else | 213 | else |
214 | { | 214 | { |
215 | switch(newmagic & 0xff) | 215 | switch(newmagic & 0xff) |
216 | { | 216 | { |
217 | case 6: | 217 | case 6: |
218 | isUpgraded = false; | 218 | isUpgraded = false; |
219 | bl = readall00(read06); | 219 | bl = readall00(read06); |
220 | // qDebug("Correct version!"); | 220 | // odebug << "Correct version!" << oendl; |
221 | break; | 221 | break; |
222 | case 5: | 222 | case 5: |
223 | isUpgraded = true; | 223 | isUpgraded = true; |
224 | bl = readall00(read05); | 224 | bl = readall00(read05); |
225 | // qDebug("Known version!"); | 225 | // odebug << "Known version!" << oendl; |
226 | break; | 226 | break; |
227 | default: | 227 | default: |
228 | // qDebug("Unknown version!"); | 228 | // odebug << "Unknown version!" << oendl; |
229 | isUpgraded = true; | 229 | isUpgraded = true; |
230 | bl = readall00(read05); | 230 | bl = readall00(read05); |
231 | } | 231 | } |
232 | } | 232 | } |
233 | } | 233 | } |
234 | return bl; | 234 | return bl; |
235 | } | 235 | } |
236 | 236 | ||
237 | CList<Bkmk>* BkmkFile::readall00(Bkmk* (*readfn)(FILE*)) | 237 | CList<Bkmk>* BkmkFile::readall00(Bkmk* (*readfn)(FILE*)) |
238 | { | 238 | { |
239 | CList<Bkmk>* bl = new CList<Bkmk>; | 239 | CList<Bkmk>* bl = new CList<Bkmk>; |
240 | while (1) | 240 | while (1) |