aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qr-bitmap.c
diff options
context:
space:
mode:
authorLeo Howell <leo@lwh.jp>2009-09-28 23:40:34 +0900
committerLeo Howell <leo@lwh.jp>2009-09-28 23:40:34 +0900
commit1349e7a3e3dc15a9ac5e571a3b941bf6883cf8bb (patch)
tree6edded0cefc804e823c08e23225924ca560f4894 /lpg/libqr/qr-bitmap.c
parent36f38e01ddd23f332374093fa213ca08429729b1 (diff)
downloadpdf-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.c2
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;