author | llornkcor <llornkcor> | 2002-07-08 23:23:40 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-08 23:23:40 (UTC) |
commit | 647a6c7ec282ea9b0b45baf8935b8eefc3ff8269 (patch) (side-by-side diff) | |
tree | a3b5b8f5d0f53b1adcb52623c34152472911f3f9 | |
parent | 40a1b5f7519c70b5335937573e3425bbc9d0f690 (diff) | |
download | opie-647a6c7ec282ea9b0b45baf8935b8eefc3ff8269.zip opie-647a6c7ec282ea9b0b45baf8935b8eefc3ff8269.tar.gz opie-647a6c7ec282ea9b0b45baf8935b8eefc3ff8269.tar.bz2 |
fixed by patch sent by Tim. Also fixed version in control file
-rw-r--r-- | noncore/apps/opie-reader/QTReader.cpp | 2 | ||||
-rw-r--r-- | noncore/apps/opie-reader/opie-reader.control | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/noncore/apps/opie-reader/QTReader.cpp b/noncore/apps/opie-reader/QTReader.cpp index 6251812..fc9cffb 100644 --- a/noncore/apps/opie-reader/QTReader.cpp +++ b/noncore/apps/opie-reader/QTReader.cpp @@ -698,25 +698,25 @@ bool QTReader::fillbuffer() { // pagepos = locnarray[0]; // else pagepos = locate(); for (int i = 0; i < delta; i++) { locnarray[i] = locate(); ch = getline(textarray[i]); // if (ch == EOF) { if (!ch) { if (i == 0) { - pagepos = oldpagepos; + locate(oldpagepos); return false; } else { ret = true; for (int j = i+1; j < delta; j++) { locnarray[j] = locnarray[j-1]; (*(textarray[j]))[0] = '\0'; } break; } diff --git a/noncore/apps/opie-reader/opie-reader.control b/noncore/apps/opie-reader/opie-reader.control index e8c98bb..1c28648 100644 --- a/noncore/apps/opie-reader/opie-reader.control +++ b/noncore/apps/opie-reader/opie-reader.control @@ -1,9 +1,9 @@ Files: bin/uqtreader apps/Applications/uqtreader.desktop pics/uqtreader.png pics/panel-arrow-down.png Priority: optional Section: applications Maintainer: Tim Wentford <timwentford@hotmail.com> Architecture: arm -Version: 0_3r_beta_UTF8 -Depends: +Version: $QPE_VERSION-$SUB_VERSION +Depends: zlib License: GPL Description: E-Book reader |