Skip to content

Commit

Permalink
fixed another bug
Browse files Browse the repository at this point in the history
  • Loading branch information
Mendel Looije committed May 13, 2012
1 parent 1b1031f commit 2d5ad11
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/image.js
Expand Up @@ -44,7 +44,7 @@ module.exports = function(options) {
//combine the buffers
var size = 0;
for (var i=0; i < image.length; ++i) {
size+= image[0].length;
size+= image[i].length;
}
var combinedBuffer = new Buffer (size);
var pos = 0;
Expand Down
2 changes: 1 addition & 1 deletion lib/pdf.js
Expand Up @@ -44,7 +44,7 @@ module.exports = function(options) {
//combine the buffers
var size = 0;
for (var i=0; i < image.length; ++i) {
size+= image[0].length;
size+= image[i].length;
}
var combinedBuffer = new Buffer (size);
var pos = 0;
Expand Down

0 comments on commit 2d5ad11

Please sign in to comment.