diff options
author | Alessio Treglia <alessio@debian.org> | 2011-09-03 12:12:52 +0200 |
---|---|---|
committer | Alessio Treglia <alessio@debian.org> | 2011-09-03 12:12:52 +0200 |
commit | 8227fe5bd1a0cee50359c2581184c32a371c754e (patch) | |
tree | 80723467abe036465fd977816881849a70030111 /src/book.c | |
parent | 87ebc2af1f0417b3bc38a233e28ff673eff4fa51 (diff) |
Imported Upstream version 3.1.90upstream/3.1.90
Diffstat (limited to 'src/book.c')
-rw-r--r-- | src/book.c | 8 |
1 files changed, 4 insertions, 4 deletions
@@ -859,8 +859,8 @@ static void book_save_pdf (Book* self, GFile* file, GError** error) { } _tmp1_ = pdf_writer_new (stream); writer = _tmp1_; - pdf_writer_write_string (writer, "%%PDF-1.3\n"); - pdf_writer_write_string (writer, "%%\xe2\xe3\xcf\xd3\n"); + pdf_writer_write_string (writer, "%PDF-1.3\n"); + pdf_writer_write_string (writer, "%\xe2\xe3\xcf\xd3\n"); _tmp2_ = pdf_writer_start_object (writer); catalog_number = _tmp2_; _tmp3_ = g_strdup_printf ("%u 0 obj\n", catalog_number); @@ -1501,7 +1501,7 @@ static void book_save_pdf (Book* self, GFile* file, GError** error) { { gchar* _tmp108_ = NULL; gchar* _tmp109_; - _tmp108_ = g_strdup_printf ("%010zu 0000 n\n", (gsize) offset); + _tmp108_ = g_strdup_printf ("%010zu 00000 n \n", (gsize) offset); _tmp109_ = _tmp108_; pdf_writer_write_string (writer, _tmp109_); _g_free0 (_tmp109_); @@ -1529,7 +1529,7 @@ static void book_save_pdf (Book* self, GFile* file, GError** error) { _tmp118_ = _tmp117_; pdf_writer_write_string (writer, _tmp118_); _g_free0 (_tmp118_); - pdf_writer_write_string (writer, "%%%%EOF\n"); + pdf_writer_write_string (writer, "%%EOF\n"); _pdf_writer_unref0 (writer); _g_object_unref0 (stream); } |