summaryrefslogtreecommitdiff
path: root/fxbarcode/datamatrix/BC_X12Encoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/datamatrix/BC_X12Encoder.cpp')
-rw-r--r--fxbarcode/datamatrix/BC_X12Encoder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/fxbarcode/datamatrix/BC_X12Encoder.cpp b/fxbarcode/datamatrix/BC_X12Encoder.cpp
index 04bf958bf4..0d874b0de0 100644
--- a/fxbarcode/datamatrix/BC_X12Encoder.cpp
+++ b/fxbarcode/datamatrix/BC_X12Encoder.cpp
@@ -66,7 +66,7 @@ void CBC_X12Encoder::handleEOD(CBC_EncoderContext& context,
return;
}
int32_t available =
- context.m_symbolInfo->m_dataCapacity - context.getCodewordCount();
+ context.m_symbolInfo->dataCapacity() - context.getCodewordCount();
int32_t count = buffer.GetLength();
if (count == 2) {
context.writeCodeword(CBC_HighLevelEncoder::X12_UNLATCH);