Mercurial > hg > orthanc
changeset 4219:b8ed2852a35d
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Wed, 30 Sep 2020 12:18:43 +0200 |
parents | 8e069a7e1c11 |
children | 92a21efa5c96 |
files | OrthancFramework/UnitTestsSources/DicomMapTests.cpp |
diffstat | 1 files changed, 2 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/UnitTestsSources/DicomMapTests.cpp Wed Sep 30 11:49:38 2020 +0200 +++ b/OrthancFramework/UnitTestsSources/DicomMapTests.cpp Wed Sep 30 12:18:43 2020 +0200 @@ -1167,7 +1167,8 @@ const bool littleEndian = IsLittleEndian(); DicomTag tag = ReadTag(block.c_str(), littleEndian); - if (tag >= untilTag) + if (sequenceDepth_ == 0 && + tag >= untilTag) { state_ = State_Done; return;