Mercurial > hg > orthanc
changeset 6891:7c95a080f558
merge
| author | Alain Mazy <am@orthanc.team> |
|---|---|
| date | Mon, 01 Jun 2026 18:55:47 +0200 |
| parents | 4705abdce449 (current diff) 91be3b15cfff (diff) |
| children | 00e690fc159f |
| files | |
| diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/OrthancFramework/Sources/DicomFormat/DicomArray.cpp Mon Jun 01 18:55:34 2026 +0200 +++ b/OrthancFramework/Sources/DicomFormat/DicomArray.cpp Mon Jun 01 18:55:47 2026 +0200 @@ -83,7 +83,7 @@ void DicomArray::Print(FILE* fp) const { - for (size_t i = 0; i < elements_.size(); i++) + for (size_t i = 0; i < elements_.size(); i++) { DicomTag t = elements_[i]->GetTag(); const DicomValue& v = elements_[i]->GetValue(); @@ -103,7 +103,7 @@ s = v.GetContent(); } - printf("0x%04x 0x%04x [%s]\n", t.GetGroup(), t.GetElement(), s.c_str()); + fprintf(fp, "0x%04x 0x%04x [%s]\n", t.GetGroup(), t.GetElement(), s.c_str()); } } }
