diff options
Diffstat (limited to 'tdeprint/fooscanner.cpp')
| -rw-r--r-- | tdeprint/fooscanner.cpp | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/tdeprint/fooscanner.cpp b/tdeprint/fooscanner.cpp index 58edc063c..8873872b0 100644 --- a/tdeprint/fooscanner.cpp +++ b/tdeprint/fooscanner.cpp @@ -58,15 +58,6 @@ #endif /* __STDC__ */ #endif /* ! __cplusplus */ -#ifdef __TURBOC__ - #pragma warn -rch - #pragma warn -use -#include <io.h> -#include <stdlib.h> -#define YY_USE_CONST -#define YY_USE_PROTOS -#endif - #ifdef YY_USE_CONST #define yyconst const #else @@ -457,10 +448,14 @@ char *yytext; { \ result = tdeprint_foomatic2scanner_device->readBlock( buf, max_size ); \ if ( result < 0 ) \ + { \ result = 0; \ + } \ } \ else \ + { \ result = 0; \ + } \ } TQIODevice* tdeprint_foomatic2scanner_device = NULL; |
