aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/code-create.c
diff options
context:
space:
mode:
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;