1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-10 18:51:21 +03:00

0033602: Data Exchange, Step - Carriage return removing

Carriage removing integrated
This commit is contained in:
ichesnok 2024-03-15 10:45:05 +00:00 committed by dpasukhi
parent 33a5691ef1
commit 54754bccab

View File

@ -299,7 +299,7 @@ void StepData_StepReaderData::cleanText(const Handle(TCollection_HAsciiString)&
} }
} }
} }
if (aChar == '\n') if (aChar == '\n' || aChar == '\r')
{ {
aResString.SetValue(aSetCharInd, aResString.ToExtString() + aStringInd); aResString.SetValue(aSetCharInd, aResString.ToExtString() + aStringInd);
aResStringSize--; aResStringSize--;