From 0cda7f6fae6a49ca32f19334fce7e338ef4065eb Mon Sep 17 00:00:00 2001 From: mental Date: Sun, 21 May 2006 04:05:33 +0000 Subject: [PATCH] add %%EOF trailer for DSC-compliance --- ChangeLog | 6 ++++++ src/extension/internal/ps.cpp | 2 ++ 2 files changed, 8 insertions(+) diff --git a/ChangeLog b/ChangeLog index 8606a9ec2..197a7c855 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,9 @@ +2006-05-20 MenTaLguY + + * src/extensin/internal/ps.cpp: + + add %%EOF trailer for DSC-compliance + 2006-05-20 Colin Marquardt * share/extensions/lindenmayer.inx, diff --git a/src/extension/internal/ps.cpp b/src/extension/internal/ps.cpp index efc689a77..d474f8533 100644 --- a/src/extension/internal/ps.cpp +++ b/src/extension/internal/ps.cpp @@ -417,6 +417,8 @@ PrintPS::begin(Inkscape::Extension::Print *mod, SPDocument *doc) } } + os << "%%EOF\n"; + /* FIXME: This function is declared to return unsigned, whereas fprintf returns a signed int * * that can be zero if the first fprintf failed (os is empty) or "negative" (i.e. very positive * in unsigned int interpretation) if the first fprintf failed but this one succeeds, or -- 2.30.2