-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 @@ -672,8 +672,9 @@ unsigned int QTReader::screenlines() return (height()-2)/(m_linespacing); }; bool QTReader::fillbuffer() { + if (buffdoc.empty()) return false; //printf("Fillbuffer\n"); m_scrolldy = 0; int ch; bool ret = false; |