pdf_prim.c

changeset 145
3ed3f7f32837
parent 125
e2ef1c2f9eca
child 166
301f6f17c364
     1.1 diff -r f2b7f70a965d -r 3ed3f7f32837 pdf_prim.c
     1.2 --- a/pdf_prim.c	Thu Mar 20 07:06:35 2003 +0000
     1.3 +++ b/pdf_prim.c	Thu Mar 20 07:44:53 2003 +0000
     1.4 @@ -2,7 +2,7 @@
     1.5   * tumble: build a PDF file from image files
     1.6   *
     1.7   * PDF routines
     1.8 - * $Id: pdf_prim.c,v 1.12 2003/03/13 00:57:05 eric Exp $
     1.9 + * $Id: pdf_prim.c,v 1.13 2003/03/19 23:44:53 eric Exp $
    1.10   * Copyright 2001, 2002, 2003 Eric Smith <eric@brouhaha.com>
    1.11   *
    1.12   * This program is free software; you can redistribute it and/or modify
    1.13 @@ -536,7 +536,8 @@
    1.14  			       stream,
    1.15  			       stream->val.stream.app_data);
    1.16    end_pos = ftell (pdf_file->f);
    1.17 -  fprintf (pdf_file->f, "endstream\r\n");
    1.18 +
    1.19 +  fprintf (pdf_file->f, "\r\nendstream\r\n");
    1.20  
    1.21    pdf_set_integer (stream->val.stream.length, end_pos - begin_pos);
    1.22  }