pdf_prim.c

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