summaryrefslogtreecommitdiff
path: root/src/book.vala
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2011-12-03 17:58:58 +0100
committerAlessio Treglia <alessio@debian.org>2011-12-03 17:58:58 +0100
commitab579f8a3757953b0ac9d26d24059c541d175d10 (patch)
tree2e885605c8e5ffd66b7b626a9a259646a759baae /src/book.vala
parentb5749b0e483238a8eb4770639dd8959b8daa8061 (diff)
parent7249c8ed3cb0da5185af4ecd2031c483bfc0258a (diff)
Merge commit 'upstream/3.2.1'
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;
}