r322: *** empty log message ***
[ctsim.git] / src / views.cpp
index 307d6c0c054cf24823a1f9884be4807f7dfa6430..86e0cf56b2a265b60922ef6f4ac06a215d29e09d 100644 (file)
@@ -9,7 +9,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: views.cpp,v 1.41 2000/12/29 19:30:08 kevin Exp $
+**  $Id: views.cpp,v 1.42 2000/12/29 20:18:59 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
 **
 **  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
@@ -87,7 +87,6 @@ void
 ImageFileCanvas::DrawRubberBandCursor (wxDC& dc, int x, int y)\r
 {\r
   const ImageFile& rIF = m_pView->GetDocument()->getImageFile();\r
 ImageFileCanvas::DrawRubberBandCursor (wxDC& dc, int x, int y)\r
 {\r
   const ImageFile& rIF = m_pView->GetDocument()->getImageFile();\r
-  ImageFileArrayConst v = rIF.getArray();\r
   int nx = rIF.nx();\r
   int ny = rIF.ny();\r
   \r
   int nx = rIF.nx();\r
   int ny = rIF.ny();\r
   \r
@@ -1696,7 +1695,7 @@ PlotFileView::OnUpdate (wxView *WXUNUSED(sender), wxObject *WXUNUSED(hint) )
         delete m_pEZPlot;\r
       m_pEZPlot = new EZPlot;\r
       \r
         delete m_pEZPlot;\r
       m_pEZPlot = new EZPlot;\r
       \r
-      for (int iEzset = 0; iEzset < rPlotFile.getNumEzsetCommands(); iEzset++)\r
+      for (unsigned int iEzset = 0; iEzset < rPlotFile.getNumEzsetCommands(); iEzset++)\r
         m_pEZPlot->ezset (rPlotFile.getEzsetCommand (iEzset));\r
       \r
       if (m_bMinSpecified) {\r
         m_pEZPlot->ezset (rPlotFile.getEzsetCommand (iEzset));\r
       \r
       if (m_bMinSpecified) {\r