diff options
author | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-19 22:55:58 +0900 |
---|---|---|
committer | Michele Calgaro <michele.calgaro@yahoo.it> | 2020-12-19 22:56:21 +0900 |
commit | df2eb7afd1783a8750b8034890ff7a9e6abb7388 (patch) | |
tree | 7d8f360841f6830f0265b94f37a876c7ec0576f9 /tdeprint | |
parent | 083dbd6407c433a7ff2b4880836d919a84b2cea9 (diff) | |
download | tdelibs-df2eb7afd1783a8750b8034890ff7a9e6abb7388.tar.gz tdelibs-df2eb7afd1783a8750b8034890ff7a9e6abb7388.zip |
Fixed some uncrustify's code formatting offending files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
(cherry picked from commit 491e1c72c7e2a19b58772fd285284e974d489501)
Diffstat (limited to 'tdeprint')
-rw-r--r-- | tdeprint/fooscanner.cpp | 4 | ||||
-rw-r--r-- | tdeprint/ppdparser.cpp | 4 | ||||
-rw-r--r-- | tdeprint/ppdscanner.cpp | 4 |
3 files changed, 12 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; diff --git a/tdeprint/ppdparser.cpp b/tdeprint/ppdparser.cpp index 30df9195d..e54fea840 100644 --- a/tdeprint/ppdparser.cpp +++ b/tdeprint/ppdparser.cpp @@ -578,13 +578,17 @@ while (0) # define YYDPRINTF(Args) \ do { \ if (yydebug) \ + { \ YYFPRINTF Args; \ + } \ } while (0) # define YYDSYMPRINT(Args) \ do { \ if (yydebug) \ + { \ yysymprint Args; \ + } \ } while (0) # define YYDSYMPRINTF(Title, Token, Value, Location) \ 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; |