diff options
author | Leo Howell <leo@lwh.jp> | 2009-09-28 23:40:34 +0900 |
---|---|---|
committer | Leo Howell <leo@lwh.jp> | 2009-09-28 23:40:34 +0900 |
commit | 1349e7a3e3dc15a9ac5e571a3b941bf6883cf8bb (patch) | |
tree | 6edded0cefc804e823c08e23225924ca560f4894 /lpg/libqr/qr-bitmap.c | |
parent | 36f38e01ddd23f332374093fa213ca08429729b1 (diff) | |
download | pdf-simple-sign-1349e7a3e3dc15a9ac5e571a3b941bf6883cf8bb.tar.gz pdf-simple-sign-1349e7a3e3dc15a9ac5e571a3b941bf6883cf8bb.tar.xz pdf-simple-sign-1349e7a3e3dc15a9ac5e571a3b941bf6883cf8bb.zip |
apply (incorrect!) mask to generated code
Diffstat (limited to 'lpg/libqr/qr-bitmap.c')
-rw-r--r-- | lpg/libqr/qr-bitmap.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lpg/libqr/qr-bitmap.c b/lpg/libqr/qr-bitmap.c index 1a5ca52..2bd0c50 100644 --- a/lpg/libqr/qr-bitmap.c +++ b/lpg/libqr/qr-bitmap.c @@ -29,7 +29,7 @@ struct qr_bitmap * qr_bitmap_create(int width, int height, int masked) out->mask = malloc(out->stride * width); if (!out->mask) goto fail; - memset(out->bits, 0xFF, size); + memset(out->mask, 0xFF, size); } return out; |