]> git.mxchange.org Git - flightgear.git/blobdiff - src/FDM/UIUCModel/uiuc_convert.cpp
Fix for bug 1304 - crash loading XML route
[flightgear.git] / src / FDM / UIUCModel / uiuc_convert.cpp
index bc3a0d59efc05071ad857a65c653dc299674f41e..2ca79a79362ac848c3bb4c1951d671be44d3bc14 100644 (file)
@@ -28,7 +28,7 @@
 
 ----------------------------------------------------------------------
 
- INPUTS:       -coversion type
+ INPUTS:       -conversion type
 
 ----------------------------------------------------------------------
 
@@ -57,8 +57,7 @@
 
  You should have received a copy of the GNU General Public License
  along with this program; if not, write to the Free Software
- Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307,
- USA or view http://www.gnu.org/copyleft/gpl.html.
+ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
 
 **********************************************************************/
 
@@ -73,11 +72,13 @@ double uiuc_convert( int conversionType )
     {
     case 0:
       {
+       /* no conversion, multiply by 1 */
        factor = 1;
        break;
       }
     case 1:
       {
+       /* convert from degrees to radians */
        factor = DEG_TO_RAD;
        break;
       }