From: mental Date: Sun, 21 May 2006 04:05:33 +0000 (+0000) Subject: add %%EOF trailer for DSC-compliance X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=0cda7f6fae6a49ca32f19334fce7e338ef4065eb;p=inkscape.git add %%EOF trailer for DSC-compliance --- 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