author | llornkcor <llornkcor> | 2002-07-08 23:23:40 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-08 23:23:40 (UTC) |
commit | 647a6c7ec282ea9b0b45baf8935b8eefc3ff8269 (patch) (unidiff) | |
tree | a3b5b8f5d0f53b1adcb52623c34152472911f3f9 /noncore | |
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() { | |||
698 | // pagepos = locnarray[0]; | 698 | // pagepos = locnarray[0]; |
699 | // else | 699 | // else |
700 | pagepos = locate(); | 700 | pagepos = locate(); |
701 | for (int i = 0; i < delta; i++) | 701 | for (int i = 0; i < delta; i++) |
702 | { | 702 | { |
703 | locnarray[i] = locate(); | 703 | locnarray[i] = locate(); |
704 | ch = getline(textarray[i]); | 704 | ch = getline(textarray[i]); |
705 | // if (ch == EOF) { | 705 | // if (ch == EOF) { |
706 | if (!ch) | 706 | if (!ch) |
707 | { | 707 | { |
708 | if (i == 0) | 708 | if (i == 0) |
709 | { | 709 | { |
710 | pagepos = oldpagepos; | 710 | locate(oldpagepos); |
711 | return false; | 711 | return false; |
712 | } | 712 | } |
713 | else | 713 | else |
714 | { | 714 | { |
715 | ret = true; | 715 | ret = true; |
716 | for (int j = i+1; j < delta; j++) | 716 | for (int j = i+1; j < delta; j++) |
717 | { | 717 | { |
718 | locnarray[j] = locnarray[j-1]; | 718 | locnarray[j] = locnarray[j-1]; |
719 | (*(textarray[j]))[0] = '\0'; | 719 | (*(textarray[j]))[0] = '\0'; |
720 | } | 720 | } |
721 | break; | 721 | break; |
722 | } | 722 | } |
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 @@ | |||
1 | Files: bin/uqtreader apps/Applications/uqtreader.desktop pics/uqtreader.png pics/panel-arrow-down.png | 1 | Files: bin/uqtreader apps/Applications/uqtreader.desktop pics/uqtreader.png pics/panel-arrow-down.png |
2 | Priority: optional | 2 | Priority: optional |
3 | Section: applications | 3 | Section: applications |
4 | Maintainer: Tim Wentford <timwentford@hotmail.com> | 4 | Maintainer: Tim Wentford <timwentford@hotmail.com> |
5 | Architecture: arm | 5 | Architecture: arm |
6 | Version: 0_3r_beta_UTF8 | 6 | Version: $QPE_VERSION-$SUB_VERSION |
7 | Depends: | 7 | Depends: zlib |
8 | License: GPL | 8 | License: GPL |
9 | Description: E-Book reader | 9 | Description: E-Book reader |