From 44df940e9417e3e33441459ce09b6da516326b33 Mon Sep 17 00:00:00 2001 From: Eric Smith Date: Thu, 13 Mar 2003 08:00:21 +0000 Subject: [PATCH] newline before endstream is responsibility of callback function. --- pdf_prim.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pdf_prim.c b/pdf_prim.c index cc29009..d49b0bc 100644 --- a/pdf_prim.c +++ b/pdf_prim.c @@ -4,7 +4,7 @@ * will be compressed using ITU-T T.6 (G4) fax encoding. * * PDF routines - * $Id: pdf_prim.c,v 1.10 2003/03/12 22:56:57 eric Exp $ + * $Id: pdf_prim.c,v 1.11 2003/03/13 00:00:21 eric Exp $ * Copyright 2001, 2002, 2003 Eric Smith * * This program is free software; you can redistribute it and/or modify @@ -538,7 +538,7 @@ void pdf_write_stream (pdf_file_handle pdf_file, struct pdf_obj *stream) stream, stream->val.stream.app_data); end_pos = ftell (pdf_file->f); - fprintf (pdf_file->f, "\r\nendstream\r\n"); + fprintf (pdf_file->f, "endstream\r\n"); pdf_set_integer (stream->val.stream.length, end_pos - begin_pos); }