summaryrefslogtreecommitdiffstats
path: root/tdeprint/fooscanner.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tdeprint/fooscanner.cpp')
-rw-r--r--tdeprint/fooscanner.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tdeprint/fooscanner.cpp b/tdeprint/fooscanner.cpp
index 58edc063c..441d411da 100644
--- a/tdeprint/fooscanner.cpp
+++ b/tdeprint/fooscanner.cpp
@@ -457,10 +457,14 @@ char *yytext;
{ \
result = tdeprint_foomatic2scanner_device->readBlock( buf, max_size ); \
if ( result < 0 ) \
+ { \
result = 0; \
+ } \
} \
else \
+ { \
result = 0; \
+ } \
}
TQIODevice* tdeprint_foomatic2scanner_device = NULL;