From 39fbfd5eb7e45d73d38e8a2ce9437a3d7e1b8e91 Mon Sep 17 00:00:00 2001 From: pohly Date: Thu, 05 May 2005 14:39:33 +0000 Subject: new opie-reader sources with support for ArriereGo, Reb input and flite output plugins --- (limited to 'noncore/apps/opie-reader/ztxt.cpp') diff --git a/noncore/apps/opie-reader/ztxt.cpp b/noncore/apps/opie-reader/ztxt.cpp index 35db05e..e04eaa0 100644 --- a/noncore/apps/opie-reader/ztxt.cpp +++ b/noncore/apps/opie-reader/ztxt.cpp @@ -67,6 +67,7 @@ void ztxt::locate(unsigned int n) if (hasrandomaccess()) { + unsuspend(); bufferrec = n / ntohs(hdr0.recordSize) + 1; if (bufferrec == 1) { @@ -107,6 +108,7 @@ void ztxt::locate(unsigned int n) void ztxt::home() { +unsuspend(); if (bInit) { inflateEnd(&zstream); @@ -147,6 +149,7 @@ CList* ztxt::getbkmklist() if (recno == 0) return NULL; CList* t = new CList; + unsuspend(); size_t cur = ftell(fin); gotorecordnumber(recno); for (int i = 0; i < ntohs(hdr0.numBookmarks); i++) -- cgit v0.9.0.2