changeset 33:12987d11be33

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 19 Dec 2016 11:29:23 +0100
parents 517c46f527cd
children a865c7992a87
files Framework/Toolbox/DicomFrameConverter.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Framework/Toolbox/DicomFrameConverter.cpp	Mon Dec 19 11:00:23 2016 +0100
+++ b/Framework/Toolbox/DicomFrameConverter.cpp	Mon Dec 19 11:29:23 2016 +0100
@@ -79,7 +79,7 @@
 
     Vector c, w;
     if (GeometryToolbox::ParseVector(c, dicom, OrthancPlugins::DICOM_TAG_WINDOW_CENTER) &&
-        GeometryToolbox::ParseVector(c, dicom, OrthancPlugins::DICOM_TAG_WINDOW_WIDTH))
+        GeometryToolbox::ParseVector(w, dicom, OrthancPlugins::DICOM_TAG_WINDOW_WIDTH))
     {
       if (c.size() > 0 && 
           w.size() > 0)