author | llornkcor <llornkcor> | 2002-07-16 23:46:36 (UTC) |
---|---|---|
committer | llornkcor <llornkcor> | 2002-07-16 23:46:36 (UTC) |
commit | 238f77dac6c82b420e2e6334fabf9b7744abd844 (patch) (unidiff) | |
tree | 23771c76cb5ffa8da248ae4977ec13e36c5cb62f | |
parent | 6d5261a534612f0f993caca801e7c7e1a5c74f32 (diff) | |
download | opie-238f77dac6c82b420e2e6334fabf9b7744abd844.zip opie-238f77dac6c82b420e2e6334fabf9b7744abd844.tar.gz opie-238f77dac6c82b420e2e6334fabf9b7744abd844.tar.bz2 |
fix for initial start crash when there's no config file
-rw-r--r-- | noncore/apps/opie-reader/QTReader.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/noncore/apps/opie-reader/QTReader.cpp b/noncore/apps/opie-reader/QTReader.cpp index fc9cffb..6335ea2 100644 --- a/noncore/apps/opie-reader/QTReader.cpp +++ b/noncore/apps/opie-reader/QTReader.cpp | |||
@@ -673,6 +673,7 @@ unsigned int QTReader::screenlines() | |||
673 | }; | 673 | }; |
674 | 674 | ||
675 | bool QTReader::fillbuffer() { | 675 | bool QTReader::fillbuffer() { |
676 | if (buffdoc.empty()) return false; | ||
676 | //printf("Fillbuffer\n"); | 677 | //printf("Fillbuffer\n"); |
677 | m_scrolldy = 0; | 678 | m_scrolldy = 0; |
678 | int ch; | 679 | int ch; |