diff options
author | Alessio Treglia <alessio@debian.org> | 2011-09-03 12:12:54 +0200 |
---|---|---|
committer | Alessio Treglia <alessio@debian.org> | 2011-09-03 12:12:54 +0200 |
commit | a25eb08be6af9cc6580f9731a1e515be120331fc (patch) | |
tree | d28f304fa76bb0175ae1d887cf4c4b27d8ac29ec /src/book.c | |
parent | 5c8211aeb400deaf51d30eddd0c92017db7b4422 (diff) | |
parent | 8227fe5bd1a0cee50359c2581184c32a371c754e (diff) |
Merge commit 'upstream/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); } |