| Index: xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp
|
| diff --git a/xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp b/xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp
|
| index 5806b3d09da3274b1ab367f3a21252827701c038..bc9b14f04e2e989da67c3e384d615be25522f814 100644
|
| --- a/xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp
|
| +++ b/xfa/fxbarcode/oned/BC_OnedCode128Writer.cpp
|
| @@ -45,10 +45,7 @@ FX_BOOL CBC_OnedCode128Writer::CheckContentValidity(
|
| if (m_codeFormat == BC_CODE128_B || m_codeFormat == BC_CODE128_C) {
|
| while (position < contents.GetLength()) {
|
| patternIndex = (int32_t)contents.GetAt(position);
|
| - if (patternIndex >= 32 && patternIndex <= 126 && patternIndex != 34) {
|
| - position++;
|
| - continue;
|
| - } else {
|
| + if (patternIndex < 32 || patternIndex > 126 || patternIndex == 34) {
|
| ret = FALSE;
|
| break;
|
| }
|
|
|