X-Git-Url: http://git.kpe.io/?a=blobdiff_plain;f=libctsim%2Fprojections.cpp;h=f6b8cb15a48fd3b3362d79b89505de4740b96271;hb=f692b2d39f56ffbafc04283f32233c098aa2978b;hp=b5db204b35888db4299006b8d3c1b7e82661a593;hpb=f721cd6f062c2f8b5410f75765cda2d7330c62f9;p=ctsim.git diff --git a/libctsim/projections.cpp b/libctsim/projections.cpp index b5db204..f6b8cb1 100644 --- a/libctsim/projections.cpp +++ b/libctsim/projections.cpp @@ -6,9 +6,9 @@ ** Date Started: Aug 84 ** ** This is part of the CTSim program -** Copyright (C) 1983-2000 Kevin Rosenberg +** Copyright (c) 1983-2001 Kevin Rosenberg ** -** $Id: projections.cpp,v 1.44 2001/01/13 22:30:01 kevin Exp $ +** $Id: projections.cpp,v 1.46 2001/01/28 19:10:18 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)