X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsim%2Fscanner.cpp;h=89745061240059b7aa3aaeece7dad440afcad907;hp=11cd0926ce68874d353bf3454c202b75298c2d1f;hb=e8462f7431582627e44906239077f1c696eefba1;hpb=1a050c98763fbbc0662731b0b76953acede6f5d7 diff --git a/libctsim/scanner.cpp b/libctsim/scanner.cpp index 11cd092..8974506 100644 --- a/libctsim/scanner.cpp +++ b/libctsim/scanner.cpp @@ -7,9 +7,7 @@ ** Date Started: 1984 ** ** This is part of the CTSim program -** Copyright (c) 1983-2001 Kevin Rosenberg -** -** $Id$ +** Copyright (c) 1983-2009 Kevin Rosenberg ** ** 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 @@ -257,13 +255,13 @@ Scanner::convertGeometryNameToID (const char* const geomName) { int id = GEOMETRY_INVALID; - for (int i = 0; i < s_iGeometryCount; i++) + for (int i = 0; i < s_iGeometryCount; i++) { if (strcasecmp (geomName, s_aszGeometryName[i]) == 0) { id = i; break; } - - return (id); + } + return (id); } @@ -355,11 +353,7 @@ Scanner::collectProjections (Projections& proj, const Phantom& phm, const int iS m_pSGP->setColor (C_GREEN); m_pSGP->drawCircle (m_dFocalLength); m_pSGP->setColor (C_BLUE); -#if MSVC m_pSGP->setTextPointSize (9); -#else - m_pSGP->setTextPointSize (14); -#endif phm.draw (*m_pSGP); m_dTextHeight = m_pSGP->getCharHeight ();