diff options
author | Leo Howell <leo@lwh.jp> | 2009-11-14 18:13:58 +0900 |
---|---|---|
committer | Leo Howell <leo@lwh.jp> | 2009-11-14 18:21:20 +0900 |
commit | 682c2c553b7083645dd5147cdf3ff8650f08a0fd (patch) | |
tree | b162857e26663af24e0c51ce9228f0dff132367a /lpg/libqr/qrgen.c | |
parent | 7ccc90b391c269ce3453275ff8725849ea52ccbe (diff) | |
download | pdf-simple-sign-682c2c553b7083645dd5147cdf3ff8650f08a0fd.tar.gz pdf-simple-sign-682c2c553b7083645dd5147cdf3ff8650f08a0fd.tar.xz pdf-simple-sign-682c2c553b7083645dd5147cdf3ff8650f08a0fd.zip |
Store ec level in qr_data struct
Diffstat (limited to 'lpg/libqr/qrgen.c')
-rw-r--r-- | lpg/libqr/qrgen.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lpg/libqr/qrgen.c b/lpg/libqr/qrgen.c index aee6166..d1aae68 100644 --- a/lpg/libqr/qrgen.c +++ b/lpg/libqr/qrgen.c @@ -31,7 +31,7 @@ struct qr_code * create(int version, len = strlen(input); - data = qr_create_data(version, dtype, input, len); + data = qr_create_data(version, ec, dtype, input, len); if (!data) { /* BUG: this could also indicate OOM or @@ -41,7 +41,7 @@ struct qr_code * create(int version, exit(1); } - code = qr_code_create(ec, data); + code = qr_code_create(data); if (!code) { perror("Failed to create code"); |