** 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
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();
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();