** 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
{
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);
}
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 ();