aboutsummaryrefslogtreecommitdiff
path: root/lpg/libqr/qrgen.c
diff options
context:
space:
mode:
Diffstat (limited to 'lpg/libqr/qrgen.c')
-rw-r--r--lpg/libqr/qrgen.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lpg/libqr/qrgen.c b/lpg/libqr/qrgen.c
index b95db0a..6098231 100644
--- a/lpg/libqr/qrgen.c
+++ b/lpg/libqr/qrgen.c
@@ -10,6 +10,7 @@
#include <qr/bitstream.h>
#include <qr/code.h>
#include <qr/data.h>
+#include <qr/version.h>
struct config {
int version;
@@ -223,7 +224,7 @@ int main(int argc, char ** argv) {
if (conf.ansi)
output_ansi(code->modules);
else
- output_pbm(code->modules, "qrgen v0.1");
+ output_pbm(code->modules, "libqr v" QR_VERSION);
qr_code_destroy(code);