From 27e4017efca48bf053c8e0e6bb083898e7f9833b Mon Sep 17 00:00:00 2001 From: Leo Uino Date: Fri, 15 Jul 2011 15:26:11 +0900 Subject: Add version.h --- lpg/libqr/qrgen.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lpg/libqr/qrgen.c') 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 #include #include +#include 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); -- cgit v1.2.3-70-g09d2