]> Creatis software - creaMaracasVisu.git/blobdiff - lib/maracasVisuLib/src/interface/wxWindows/widgets/manualContour/manualContourModel.cpp
v1.0.3 BUG 1404
[creaMaracasVisu.git] / lib / maracasVisuLib / src / interface / wxWindows / widgets / manualContour / manualContourModel.cpp
index 72999cfda745fb9fc6dc06e6981b90903bdc4ce8..f8369751bf63a9c61c893790852361d8776a308e 100644 (file)
@@ -266,7 +266,6 @@ void manualContourModel::SetNumberOfPointsSpline(int size)
        _sizePointsContour = size;
 }
 
-
 // ----------------------------------------------------------------------------
 
 void manualContourModel::SetCloseContour(bool closeContour)
@@ -669,7 +668,8 @@ void manualContourModel::OpenData(FILE *ff)
        fscanf(ff,"%s",tmp); // Label:
        fscanf(ff,"%s",tmp); // value
        std::cout<<tmp<<std::endl;
-       if(tmp != "NO_LABEL")
+       //if(strcmp(tmp != "NO_LABEL") // JPR
+       if(strcmp(tmp,"NO_LABEL") != 0)
                SetLabel(tmp);
 
        fscanf(ff,"%s",tmp); // Real_size