summaryrefslogtreecommitdiff
path: root/src/book.vala
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2011-12-03 17:58:55 +0100
committerAlessio Treglia <alessio@debian.org>2011-12-03 17:58:55 +0100
commit7249c8ed3cb0da5185af4ecd2031c483bfc0258a (patch)
treeb53217820b8aadd3b52d6b0d63ee5689103b125c /src/book.vala
parentafe4573b20aa385377102902ce658fa088bb44d2 (diff)
Imported Upstream version 3.2.1upstream/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;
}