diff options
author | Leo Howell <leo@lwh.jp> | 2009-10-08 14:38:37 +0900 |
---|---|---|
committer | Leo Howell <leo@lwh.jp> | 2009-10-08 14:38:37 +0900 |
commit | 62e8a6f2ad89be06c7e649c0fc4c564ecad2d070 (patch) | |
tree | a870eb56ba9c02e5807d3ce3d556bca98c1f2e8c /lpg/libqr/code-layout.c | |
parent | ad59de83b7f82cb812d23ac2bb948ac32fe0ac71 (diff) | |
download | pdf-simple-sign-62e8a6f2ad89be06c7e649c0fc4c564ecad2d070.tar.gz pdf-simple-sign-62e8a6f2ad89be06c7e649c0fc4c564ecad2d070.tar.xz pdf-simple-sign-62e8a6f2ad89be06c7e649c0fc4c564ecad2d070.zip |
code format --> version
Diffstat (limited to 'lpg/libqr/code-layout.c')
-rw-r--r-- | lpg/libqr/code-layout.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lpg/libqr/code-layout.c b/lpg/libqr/code-layout.c index 46d2800..4be3871 100644 --- a/lpg/libqr/code-layout.c +++ b/lpg/libqr/code-layout.c @@ -19,7 +19,7 @@ struct qr_iterator { void qr_layout_init_mask(struct qr_code * code) { int x, y; - int dim = code_side_length(code->format); + int dim = qr_code_width(code); struct qr_bitmap * bmp = code->modules; assert(bmp->mask); @@ -110,7 +110,7 @@ struct qr_iterator * qr_layout_begin(struct qr_code * code) i = malloc(sizeof(*i)); if (i) { - i->dim = code_side_length(code->format); + i->dim = qr_code_width(code); i->code = code; i->column = i->dim - 1; i->row = i->dim - 1; |