Diffstat (limited to 'noncore/apps/opie-reader/Aportis.cpp') (more/less context) (ignore whitespace changes)
-rw-r--r-- | noncore/apps/opie-reader/Aportis.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/noncore/apps/opie-reader/Aportis.cpp b/noncore/apps/opie-reader/Aportis.cpp index 353996c..37dcc99 100644 --- a/noncore/apps/opie-reader/Aportis.cpp +++ b/noncore/apps/opie-reader/Aportis.cpp @@ -56,2 +56,3 @@ CList<Bkmk>* Aportis::getbkmklist() CList<Bkmk>* t = new CList<Bkmk>; + unsuspend(); size_t cur = ftell(fin); @@ -248,2 +249,3 @@ int Aportis::getch() { +unsuspend(); int c = getc(fin); @@ -265,2 +267,3 @@ int Aportis::getch() // take a char from the input buffer +unsuspend(); c = getc(fin); @@ -322,3 +325,3 @@ unsigned int Aportis::GetBS(unsigned int bn) WORD fs; - +unsuspend(); fseek(fin, 0x56 + 8*bn, SEEK_SET); @@ -345,2 +348,3 @@ unsigned int Aportis::locate() { +unsuspend(); size_t cur = ftell(fin); @@ -403,2 +407,3 @@ bool Aportis::refreshbuffer() unsigned char t[3]; + unsuspend(); fread(t,1,3,fin); @@ -432,2 +437,3 @@ QImage* Aportis::getPicture(unsigned long tgt) { +unsuspend(); unsigned short tgtrec = tgt+mobiimagerec; |