summaryrefslogtreecommitdiff
path: root/src/book.vala
diff options
context:
space:
mode:
Diffstat (limited to 'src/book.vala')
-rw-r--r--src/book.vala1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/book.vala b/src/book.vala
index 64f7c60..a410264 100644
--- a/src/book.vala
+++ b/src/book.vala
@@ -197,6 +197,7 @@ public class Book
}
info.finish_compress ();
n_written = max_length - dest_mgr.free_in_buffer;
+ data.resize ((int) n_written);
return data;
}