diff options
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"); |