From 5ec95153a0e0e97346ff746e3609140819de2c89 Mon Sep 17 00:00:00 2001 From: Robin Stuart Date: Wed, 6 Apr 2016 09:35:36 +0100 Subject: [PATCH] Populate map for Aztec codes Ref #17 from hoky24 --- backend/aztec.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/backend/aztec.c b/backend/aztec.c index 6c20e8b7..50f591ee 100644 --- a/backend/aztec.c +++ b/backend/aztec.c @@ -737,7 +737,7 @@ int avoidReferenceGrid(int input) { } /* Calculate the position of the bits in the grid */ -void popilate_map() { +void populate_map() { int layer, start, length, n, i; int x, y; @@ -903,6 +903,8 @@ int aztec(struct zint_symbol *symbol, unsigned char source[], int length) { } break; } + + populate_map(); err_code = aztec_text_process(local_source, length, binary_string, gs1);