summaryrefslogtreecommitdiff
path: root/fxbarcode/datamatrix/BC_DefaultPlacement.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/datamatrix/BC_DefaultPlacement.cpp')
-rw-r--r--fxbarcode/datamatrix/BC_DefaultPlacement.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxbarcode/datamatrix/BC_DefaultPlacement.cpp b/fxbarcode/datamatrix/BC_DefaultPlacement.cpp
index 405b4f72a1..934d79503c 100644
--- a/fxbarcode/datamatrix/BC_DefaultPlacement.cpp
+++ b/fxbarcode/datamatrix/BC_DefaultPlacement.cpp
@@ -107,7 +107,7 @@ void CBC_DefaultPlacement::module(int32_t row,
col += m_numcols;
row += 4 - ((m_numcols + 4) % 8);
}
- int32_t v = m_codewords.GetAt(pos);
+ int32_t v = m_codewords[pos];
v &= 1 << (8 - bit);
setBit(col, row, v != 0);
}