From 023c136d40cab24d994d29f2cd05e812ec3a8670 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Cl=C3=A9ment=20de=20l=27Hamaide?= Date: Mon, 23 Sep 2013 01:02:10 +0200 Subject: [PATCH] Fix spelling error by Markus Wanner --- src/Instrumentation/gps.cxx | 4 ++-- src/Instrumentation/instrument_mgr.cxx | 6 +++--- src/Instrumentation/transponder.cxx | 4 ++-- src/Instrumentation/transponder.hxx | 2 +- 4 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/Instrumentation/gps.cxx b/src/Instrumentation/gps.cxx index 700b2aab1..5552fdf1c 100644 --- a/src/Instrumentation/gps.cxx +++ b/src/Instrumentation/gps.cxx @@ -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"; diff --git a/src/Instrumentation/instrument_mgr.cxx b/src/Instrumentation/instrument_mgr.cxx index dbf557eb6..c21bf7cba 100644 --- a/src/Instrumentation/instrument_mgr.cxx +++ b/src/Instrumentation/instrument_mgr.cxx @@ -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 ); diff --git a/src/Instrumentation/transponder.cxx b/src/Instrumentation/transponder.cxx index b95e9404d..00d4d80ac 100644 --- a/src/Instrumentation/transponder.cxx +++ b/src/Instrumentation/transponder.cxx @@ -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() diff --git a/src/Instrumentation/transponder.hxx b/src/Instrumentation/transponder.hxx index 5ca5204c0..ad4d183b9 100644 --- a/src/Instrumentation/transponder.hxx +++ b/src/Instrumentation/transponder.hxx @@ -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;