r403: no message
[ctsim.git] / libctsim / projections.cpp
index b5db204b35888db4299006b8d3c1b7e82661a593..f5f9c6af9761f4fb7816420584a1a5d9a32e55d2 100644 (file)
@@ -8,7 +8,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: projections.cpp,v 1.44 2001/01/13 22:30:01 kevin Exp $
+**  $Id: projections.cpp,v 1.45 2001/01/16 20:55:29 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
@@ -637,6 +637,8 @@ Projections::printProjectionData (int startView, int endView)
   if (m_projData != NULL) {
     if (startView < 0)
       startView = 0;
+    if (endView < 0)
+      endView = m_nView - 1;
     if (startView > m_nView - 1)
       startView = m_nView - 1;
     if (endView > m_nView - 1)