summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 96d24b5)
raw | patch | inline | side by side (parent: 96d24b5)
author | mental <mental@users.sourceforge.net> | |
Tue, 23 May 2006 06:28:47 +0000 (06:28 +0000) | ||
committer | mental <mental@users.sourceforge.net> | |
Tue, 23 May 2006 06:28:47 +0000 (06:28 +0000) |
ChangeLog | patch | blob | history | |
src/extension/internal/ps.cpp | patch | blob | history |
diff --git a/ChangeLog b/ChangeLog
index 93b22d4c75a81d2add0b3bcff29f7ac89de59c3f..83d3e06e7bd70cedcf8a77dd1432cac9a65bafd2 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
+2006-05-23 MenTaLguY <mental@rydia.net>
+
+ * src/extension/internal/ps.cpp:
+
+ move %%EOF to end of output document
+
2006-05-22 Jon A. Cruz <jon@joncruz.org>
* src/dialogs/swatches.cpp, src/ui/widget/panel.cpp,
index d474f85334e05b44cc53521595a95ad61a3919be..7b769884426ff59b904fa5eac186f1e1ace8b2ea 100644 (file)
}
}
- 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
nr_free(px);
}
- int const res = fprintf(_stream, "showpage\n");
+ fprintf(_stream, "showpage\n");
+ int const res = fprintf(_stream, "%%EOF\n");
/* Flush stream to be sure. */
(void) fflush(_stream);