summaryrefslogtreecommitdiffstats
path: root/tdeprint
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2020-12-19 22:55:58 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2020-12-19 22:55:58 +0900
commit491e1c72c7e2a19b58772fd285284e974d489501 (patch)
tree2d2658d0c98c0d1a55746a7f9a39fa2344a9874c /tdeprint
parent5cb3ed2e545a03815cdd04ab8666b605a71c44b4 (diff)
downloadtdelibs-491e1c72c7e2a19b58772fd285284e974d489501.tar.gz
tdelibs-491e1c72c7e2a19b58772fd285284e974d489501.zip
Fixed some uncrustify's code formatting offending files.
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'tdeprint')
-rw-r--r--tdeprint/fooscanner.cpp4
-rw-r--r--tdeprint/ppdparser.cpp4
-rw-r--r--tdeprint/ppdscanner.cpp4
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;