X-Git-Url: http://git.kpe.io/?p=ctsim.git;a=blobdiff_plain;f=libctsim%2Fphantom.cpp;h=540adf8022ce91b82141ffafc755f9cbb737075c;hp=f9bb1dbf38db3f4172c658ac99c99809f5bfddb7;hb=e8462f7431582627e44906239077f1c696eefba1;hpb=88fd1492afba7c103e2bedbaac0d69fb9bf3cf66 diff --git a/libctsim/phantom.cpp b/libctsim/phantom.cpp index f9bb1db..540adf8 100644 --- a/libctsim/phantom.cpp +++ b/libctsim/phantom.cpp @@ -7,9 +7,7 @@ ** Date Started: Aug 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 @@ -117,13 +115,13 @@ Phantom::convertNameToPhantomID (const char* const phmName) { int id = PHM_INVALID; - for (int i = 0; i < s_iPhantomCount; i++) + for (int i = 0; i < s_iPhantomCount; i++) { if (strcasecmp (phmName, s_aszPhantomName[i]) == 0) { id = i; break; } - - return (id); + } + return (id); }