diff --git a/tools/tiff2pdf.c b/tools/tiff2pdf.c index eca79fb3..f53608e7 100644 --- a/tools/tiff2pdf.c +++ b/tools/tiff2pdf.c @@ -1,4 +1,4 @@ -/* $Id: tiff2pdf.c,v 1.33 2006-04-21 15:09:34 dron Exp $ +/* $Id: tiff2pdf.c,v 1.34 2006-06-08 10:45:35 dron Exp $ * * tiff2pdf - converts a TIFF image to a PDF document * @@ -3669,16 +3669,17 @@ tsize_t t2p_write_pdf_name(char* name, TIFF* output){ tsize_t t2p_write_pdf_string(char* pdfstr, TIFF* output){ - tsize_t written=0; - uint32 i=0; - char buffer[5]; - uint32 len=0; + tsize_t written = 0; + uint32 i = 0; + char buffer[64]; + uint32 len = 0; - len=strlen(pdfstr); + len = strlen(pdfstr); written += TIFFWriteFile(output, (tdata_t) "(", 1); - for (i=0;i