summaryrefslogtreecommitdiff
path: root/devices
diff options
context:
space:
mode:
authorChris Liddell <chris.liddell@artifex.com>2023-02-27 09:45:25 +0000
committerChris Liddell <chris.liddell@artifex.com>2023-02-27 14:38:33 +0000
commitd68bb39be2c7ff5ad4d7e702737bfd21395ec19e (patch)
treeeabae902ec134d3cdba03a65452b856706602eee /devices
parentbad36261da603c6457080aa066ba5d53897add21 (diff)
downloadghostpdl-d68bb39be2c7ff5ad4d7e702737bfd21395ec19e.tar.gz
Bug 706388: Fix a typo writing the gs version to TIFF tags
Thanks to Michael Osipov for pointing this out
Diffstat (limited to 'devices')
-rw-r--r--devices/gdevtifs.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/devices/gdevtifs.c b/devices/gdevtifs.c
index 55ae5a7d9..096fbb483 100644
--- a/devices/gdevtifs.c
+++ b/devices/gdevtifs.c
@@ -1,4 +1,4 @@
-/* Copyright (C) 2001-2022 Artifex Software, Inc.
+/* Copyright (C) 2001-2023 Artifex Software, Inc.
All Rights Reserved.
This software is provided AS-IS with no warranty, either express or
@@ -372,7 +372,7 @@ int tiff_set_fields_for_printer(gx_device_printer *pdev,
strncpy(softwareValue, gs_product, maxSoftware);
softwareValue[maxSoftware - 1] = 0;
- gs_snprintf(revs, sizeof(revs), " %d.%2d.%d", major, minor, patch);
+ gs_snprintf(revs, sizeof(revs), " %d.%02d.%d", major, minor, patch);
strncat(softwareValue, revs,
maxSoftware - strlen(softwareValue) - 1);