From 2280c632f390b6e6a682a38d9abee9f08e41db02 Mon Sep 17 00:00:00 2001 From: Leo Uino Date: Wed, 13 Jul 2011 17:39:25 +0900 Subject: Fix incorrect layout of format info --- lpg/libqr/code-create.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lpg/libqr/code-create.c b/lpg/libqr/code-create.c index 0882b88..b0db1c9 100644 --- a/lpg/libqr/code-create.c +++ b/lpg/libqr/code-create.c @@ -527,7 +527,7 @@ static int draw_format(struct qr_bitmap * bmp, for (i = 0; i < 8; ++i) { if (bits & 0x1) { - setpx(bmp, 8, i); + setpx(bmp, 8, i + (i > 5)); setpx(bmp, dim - 1 - i, 8); } bits >>= 1; -- cgit v1.2.3-70-g09d2