X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=src%2Fviews.cpp;h=85860d0dcd991d2867106a281b5c1c055a6b9e23;hp=02ded2091d98324a13ce8b5dd529e74791b1573b;hb=7f8f356151b0c8db0dbbf1c1896cc22630d6c774;hpb=64c9743370f5c2f03bfc8866c54dd84ed306a614 diff --git a/src/views.cpp b/src/views.cpp index 02ded20..85860d0 100644 --- a/src/views.cpp +++ b/src/views.cpp @@ -9,7 +9,7 @@ ** This is part of the CTSim program ** Copyright (C) 1983-2000 Kevin Rosenberg ** -** $Id: views.cpp,v 1.58 2001/01/12 03:49:07 kevin Exp $ +** $Id: views.cpp,v 1.59 2001/01/12 16:41:56 kevin Exp $ ** ** This program is free software; you can redistribute it and/or modify ** it under the terms of the GNU General Public License (version 2) as @@ -1467,7 +1467,7 @@ ImageFileView::OnCompareCol (wxCommandEvent& event) s += rIF.labelGet(iL).getLabelString(); rPlotFile.addDescription (s.c_str()); } - for (iL = 0; iL < rIF.nLabels(); iL++) { + for (iL = 0; iL < rCompareIF.nLabels(); iL++) { std::string s = pCompareDoc->GetFirstView()->GetFrame()->GetTitle().c_str(); s += ": "; s += rCompareIF.labelGet(iL).getLabelString(); @@ -1557,7 +1557,7 @@ ImageFileView::OnCompareRow (wxCommandEvent& event) s += rIF.labelGet(iL).getLabelString(); rPlotFile.addDescription (s.c_str()); } - for (iL = 0; iL < rIF.nLabels(); iL++) { + for (iL = 0; iL < rCompareIF.nLabels(); iL++) { std::string s = pCompareDoc->GetFirstView()->GetFrame()->GetTitle().c_str(); s += ": "; s += rCompareIF.labelGet(iL).getLabelString();