diff options
author | Leo Howell <leo@lwh.jp> | 2009-11-14 20:31:08 +0900 |
---|---|---|
committer | Leo Howell <leo@lwh.jp> | 2009-11-14 20:38:58 +0900 |
commit | 5d91255e986b6f1fb6205cc759ff5d43ccb3c96f (patch) | |
tree | 20a826b7b950e4754c5eb52b81ec24a4f38abf5a /lpg/libqr/code-common.c | |
parent | c2e4639d2ebefbeb7f8b7e1826ae2391c6876a5a (diff) | |
download | pdf-simple-sign-5d91255e986b6f1fb6205cc759ff5d43ccb3c96f.tar.gz pdf-simple-sign-5d91255e986b6f1fb6205cc759ff5d43ccb3c96f.tar.xz pdf-simple-sign-5d91255e986b6f1fb6205cc759ff5d43ccb3c96f.zip |
Final tidy for 0.1
Diffstat (limited to 'lpg/libqr/code-common.c')
-rw-r--r-- | lpg/libqr/code-common.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lpg/libqr/code-common.c b/lpg/libqr/code-common.c index bc6621a..a0b8fcc 100644 --- a/lpg/libqr/code-common.c +++ b/lpg/libqr/code-common.c @@ -47,7 +47,7 @@ struct qr_bitmap * qr_mask_apply(const struct qr_bitmap * orig, struct qr_bitmap * bmp; int i, j; - if (mask & ~0x7) + if (mask > 7) return 0; bmp = qr_bitmap_clone(orig); |