aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/code-create.c
diff options
context:
space:
mode:
authorLeo Uino <leo@norisys.jp>2011-07-13 17:39:25 +0900
committerLeo Uino <leo@norisys.jp>2011-07-13 17:39:25 +0900
commit2280c632f390b6e6a682a38d9abee9f08e41db02 (patch)
tree7405ae2ecddac87b233bf5aa7a5c826eb761f2d8 /lpg/libqr/code-create.c
parentc02f534047b35e3db4b300264a0abb790e9121af (diff)
downloadpdf-simple-sign-2280c632f390b6e6a682a38d9abee9f08e41db02.tar.gz
pdf-simple-sign-2280c632f390b6e6a682a38d9abee9f08e41db02.tar.xz
pdf-simple-sign-2280c632f390b6e6a682a38d9abee9f08e41db02.zip
Fix incorrect layout of format info
Diffstat (limited to 'lpg/libqr/code-create.c')
-rw-r--r--lpg/libqr/code-create.c2
1 files changed, 1 insertions, 1 deletions
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;