]> git.mxchange.org Git - flightgear.git/blobdiff - src/Main/fg_props.hxx
Fix indentation and mixed-up white-space/tabs
[flightgear.git] / src / Main / fg_props.hxx
index 15bf286f22ead366e63403cb572902b0ac797737..023d4dbbff4c1f42db65f3f935b5e01c832c7b0b 100644 (file)
@@ -10,7 +10,6 @@
 
 #include <simgear/structure/subsystem_mgr.hxx>
 #include <simgear/props/tiedpropertylist.hxx>
-#include <simgear/math/SGMath.hxx>
 
 #include <Main/globals.hxx>
 
@@ -300,7 +299,7 @@ inline int fgGetInt (const std::string & name, int defaultValue = 0)
  *        does not exist.
  * @return The property's value as a long, or the default value provided.
  */
-extern int fgGetLong (const char * name, long defaultValue = 0L);
+extern long fgGetLong (const char * name, long defaultValue = 0L);
 
 /**
  * Get a long value for a property.
@@ -316,7 +315,7 @@ extern int fgGetLong (const char * name, long defaultValue = 0L);
  *        does not exist.
  * @return The property's value as a long, or the default value provided.
  */
-inline int fgGetLong (const std::string & name, long defaultValue = 0L)
+inline long fgGetLong (const std::string & name, long defaultValue = 0L)
 {
     return fgGetLong( name.c_str(), defaultValue );
 }