From 5d91255e986b6f1fb6205cc759ff5d43ccb3c96f Mon Sep 17 00:00:00 2001 From: Leo Howell Date: Sat, 14 Nov 2009 20:31:08 +0900 Subject: Final tidy for 0.1 --- lpg/libqr/code-common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lpg/libqr/code-common.c') 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); -- cgit v1.2.3-70-g09d2