From 491e1c72c7e2a19b58772fd285284e974d489501 Mon Sep 17 00:00:00 2001 From: Michele Calgaro Date: Sat, 19 Dec 2020 22:55:58 +0900 Subject: Fixed some uncrustify's code formatting offending files. Signed-off-by: Michele Calgaro --- tdeprint/fooscanner.cpp | 4 ++++ tdeprint/ppdparser.cpp | 4 ++++ tdeprint/ppdscanner.cpp | 4 ++++ 3 files changed, 12 insertions(+) (limited to 'tdeprint') 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; -- cgit v1.2.1