summaryrefslogtreecommitdiff
path: root/fxbarcode/datamatrix/BC_EdifactEncoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'fxbarcode/datamatrix/BC_EdifactEncoder.cpp')
-rw-r--r--fxbarcode/datamatrix/BC_EdifactEncoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/fxbarcode/datamatrix/BC_EdifactEncoder.cpp b/fxbarcode/datamatrix/BC_EdifactEncoder.cpp
index 9231b1e293..cc72a311c9 100644
--- a/fxbarcode/datamatrix/BC_EdifactEncoder.cpp
+++ b/fxbarcode/datamatrix/BC_EdifactEncoder.cpp
@@ -66,7 +66,7 @@ bool HandleEOD(CBC_EncoderContext* context, const CFX_WideString& buffer) {
return false;
int32_t available =
- context->m_symbolInfo->m_dataCapacity - context->getCodewordCount();
+ context->m_symbolInfo->dataCapacity() - context->getCodewordCount();
int32_t remaining = context->getRemainingCharacters();
if (remaining == 0 && available <= 2)
return true;
@@ -86,7 +86,7 @@ bool HandleEOD(CBC_EncoderContext* context, const CFX_WideString& buffer) {
return false;
int32_t available =
- context->m_symbolInfo->m_dataCapacity - context->getCodewordCount();
+ context->m_symbolInfo->dataCapacity() - context->getCodewordCount();
if (available >= 3) {
restInAscii = false;
context->updateSymbolInfo(