diff options
Diffstat (limited to 'tdeprint/ppdscanner.cpp')
-rw-r--r-- | tdeprint/ppdscanner.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tdeprint/ppdscanner.cpp b/tdeprint/ppdscanner.cpp index ebfea8d53..4b37737c0 100644 --- a/tdeprint/ppdscanner.cpp +++ b/tdeprint/ppdscanner.cpp @@ -552,10 +552,14 @@ TQIODevice *tdeprint_ppdscanner_device = NULL; { \ result = tdeprint_ppdscanner_device->readBlock(buf,max_size); \ if (result < 0) \ + { \ result = 0; \ + } \ } \ else \ + { \ result = 0; \ + } \ } int tdeprint_ppdscanner_lno = 0; |