Skip to content

Commit

Permalink
Fix for issue #38
Browse files Browse the repository at this point in the history
Args was passed to bwipp instead of generated opts
  • Loading branch information
kav committed Jun 22, 2016
1 parent ca4147f commit fb643bd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion node-bwipjs.js
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ module.exports.toBuffer = function(args, callback) {

// Call into the BWIPP cross-compiled code
try {
bwipp()(bw, bcid, text, args);
bwipp()(bw, bcid, text, opts);
bw.bitmap().getPNG(rot, callback);
} catch (e) {
// Invoking this callback is synchronous.
Expand Down

0 comments on commit fb643bd

Please sign in to comment.