Include version information in UPNQR symbols

Fixes #65, Bug report by Primož Cerar
This commit is contained in:
Robin Stuart 2017-05-30 08:40:08 +01:00
parent ffcfe965d1
commit 7b53fc3469

View File

@ -3054,6 +3054,8 @@ int upnqr(struct zint_symbol *symbol, const unsigned char source[], int length)
setup_grid(grid, size, version);
populate_grid(grid, size, fullstream, qr_total_codewords[version - 1]);
add_version_info(grid, size, version);
bitmask = apply_bitmask(grid, size, ecc_level);