summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-15 11:56:52 +0100
committerJohannes Hofmann <Johannes.Hofmann@gmx.de>2009-01-15 11:56:52 +0100
commit0e2c667093527ee0658054f6082200f029d4d35f (patch)
treef52b5e018d3160a80dd67b551ef5abdb9ca52d46 /src
parentd5a3220a808752e0535d0667cf6f27c49ea0f504 (diff)
whitespace
Diffstat (limited to 'src')
-rw-r--r--src/Postscript.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Postscript.cxx b/src/Postscript.cxx
index 2f652cf..158ee51 100644
--- a/src/Postscript.cxx
+++ b/src/Postscript.cxx
@@ -276,7 +276,7 @@ void PSWriter::write_main_block(FILE *out) {
fprintf(out, "\n");
fprintf(out, ps_header());
- for (int i=1;i<pse->get_max_pages();i++) {
+ for (int i = 1; i<pse->get_max_pages(); i++) {
if (pse->get_text(i)) {
fprintf(out, "dup %d eq { \n", i);
write_text(out, pse->get_text(i));
@@ -299,7 +299,7 @@ void PSWriter::write_internal_format(FILE *out) {
glyph_format = PSEDIT_GLYPH_FORMAT;
tag_format = PSEDIT_TAG_FORMAT;
- for (int i=1;i<pse->get_max_pages();i++) {
+ for (int i = 1; i < pse->get_max_pages(); i++) {
if (pse->get_text(i)) {
fprintf(out, PSEDIT_PAGE_FORMAT, i);
write_text(out, pse->get_text(i));
@@ -317,7 +317,7 @@ void PSWriter::write_string(FILE *out, char *s) {
write_string(out, &(s[1]));
return;
} else {
- for(int i = 0; i < strlen(s); i++) {
+ for (int i = 0; i < strlen(s); i++) {
if ((glyph = char_to_glyph(&(s[i]))) != NULL) {
char *s1 = strdup(s);
s1[i] = '\0';