diff options
author | L Peter Deutsch <lpd@ghostscript.com> | 2000-05-11 16:14:51 +0000 |
---|---|---|
committer | L Peter Deutsch <lpd@ghostscript.com> | 2000-05-11 16:14:51 +0000 |
commit | ac14782d381ec3e8f1ac612e4057a72e98d37078 (patch) | |
tree | ef980b92411008bb8263642c8dc6813824cf85a4 /gs/src/gdevpdfg.c | |
parent | b024064c95fbafbd4efef7de02b25d2056a0c97d (diff) |
Fixes minor syntactic incompatibilities with "traditional C" compilers.
git-svn-id: http://svn.ghostscript.com/ghostscript/trunk@438 a1074d23-0009-0410-80fe-cf8c14f379e6
Diffstat (limited to 'gs/src/gdevpdfg.c')
-rw-r--r-- | gs/src/gdevpdfg.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gs/src/gdevpdfg.c b/gs/src/gdevpdfg.c index 541baf3cf..32975295d 100644 --- a/gs/src/gdevpdfg.c +++ b/gs/src/gdevpdfg.c @@ -713,7 +713,7 @@ pdf_update_transfer(gx_device_pdf *pdev, const gs_imager_state *pis, char *trs) { int i; - bool single = true, update = false; + bool multiple = false, update = false; gs_id transfer_ids[4]; int code = 0; @@ -722,10 +722,10 @@ pdf_update_transfer(gx_device_pdf *pdev, const gs_imager_state *pis, if (pdev->transfer_ids[i] != transfer_ids[i]) update = true; if (transfer_ids[i] != transfer_ids[0]) - single = false; + multiple = true; } if (update) { - if (single) { + if (!multiple) { code = pdf_write_transfer(pdev, pis->set_transfer.indexed[0], "/TR", trs); if (code < 0) |