]> git.mxchange.org Git - flightgear.git/commitdiff
Fix spelling error by Markus Wanner
authorClément de l'Hamaide <clemaez@hotmail.fr>
Sun, 22 Sep 2013 23:02:10 +0000 (01:02 +0200)
committerClément de l'Hamaide <clemaez@hotmail.fr>
Sun, 22 Sep 2013 23:02:10 +0000 (01:02 +0200)
src/Instrumentation/gps.cxx
src/Instrumentation/instrument_mgr.cxx
src/Instrumentation/transponder.cxx
src/Instrumentation/transponder.hxx

index 700b2aab111015fd74758f6e9b07a53ad7330378..5552fdf1c592d4aecffbad8246fbdad15e92f4f4 100644 (file)
@@ -137,7 +137,7 @@ GPS::init ()
   _northSouthVelocity = _gpsNode->getChild("ns-velocity-msec", 0, true);
   
 // waypoints
-  // for compatability, alias selected course down to wp/wp[1]/desired-course-deg
+  // for compatibility, alias selected course down to wp/wp[1]/desired-course-deg
   SGPropertyNode* wp1Crs = _currentWayptNode->getChild("desired-course-deg", 0, true);
   wp1Crs->alias(_gpsNode->getChild("desired-course-deg", 0, true));
 
@@ -776,7 +776,7 @@ void GPS::driveAutopilot()
     return;
   }
  
-  // compatability feature - allow the route-manager / GPS to drive the
+  // compatibility feature - allow the route-manager / GPS to drive the
   // generic autopilot heading hold *in leg mode only* 
   
   bool drive = _mode == "leg";
index dbf557eb63ae3590fe9ceadc8c67d66c6451de98..c21bf7cbaac2684f04b24468c4e43f922d5ae473 100644 (file)
@@ -177,10 +177,10 @@ bool FGInstrumentMgr::build (SGPropertyNode* config_props)
 
         } else if (( name == "transponder" ) || ( name == "KT-70" )) {
             if  (name == "KT-70") {
-                SG_LOG(SG_INSTR, SG_WARN, "KT-70 legacy instrument compatability. "
+                SG_LOG(SG_INSTR, SG_WARN, "KT-70 legacy instrument compatibility. "
                        "Please update aircraft to use transponder directly");
-                // force configuration into compatability mode
-                node->setBoolValue("kt70-compatability", true);
+                // force configuration into compatibility mode
+                node->setBoolValue("kt70-compatibility", true);
             }
             set_subsystem( id, new Transponder( node ), 0.2 );
 
index b95e9404d54c93a778b062c842f0c97680e00da2..00d4d80acbd479696394fbd292aef77f363c2e90 100644 (file)
@@ -56,7 +56,7 @@ Transponder::Transponder(SGPropertyNode *node)
 {
     _requiredBusVolts = node->getDoubleValue("bus-volts", 8.0);
     _altitudeSourcePath = node->getStringValue("encoder-path", "/instrumentation/altimeter");
-    _kt70Compat = node->getBoolValue("kt70-compatability", false);
+    _kt70Compat = node->getBoolValue("kt70-compatibility", false);
 }
 
 
@@ -142,7 +142,7 @@ void Transponder::bind()
                             &Transponder::getStandbyAnnunciator );
         _tiedProperties.Tie("annunciators/reply", this,
                             &Transponder::getReplyAnnunciator );
-    } // of kt70 backwards compatability
+    } // of kt70 backwards compatibility
 }
 
 void Transponder::unbind()
index 5ca5204c0e55671a4a42b469eb22ec7317136380..ad4d183b9be326f83d33f08302c33c32eaa762a1 100644 (file)
@@ -60,7 +60,7 @@ private:
         KNOB_ALT
     };
     
-    // annunciators, for KT-70 compatability only
+    // annunciators, for KT-70 compatibility only
     // these should be replaced with conditionals in the instrument
     bool getFLAnnunciator() const;
     bool getAltAnnunciator() const;