** Date Started: June 2000
**
** 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
{
int backprojID = BPROJ_INVALID;
- for (int i = 0; i < s_iBackprojectCount; i++)
+ for (int i = 0; i < s_iBackprojectCount; i++) {
if (strcasecmp (backprojName, s_aszBackprojectName[i]) == 0) {
backprojID = i;
break;
}
-
- return (backprojID);
+ }
+ return (backprojID);
}
const char*
{
int interpID = INTERP_INVALID;
- for (int i = 0; i < s_iInterpCount; i++)
+ for (int i = 0; i < s_iInterpCount; i++) {
if (strcasecmp (interpName, s_aszInterpName[i]) == 0) {
interpID = i;
break;
}
-
- return (interpID);
+ }
+ return (interpID);
}
const char*