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

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