1
0
Fork 0

Fix copy-and-paste error which resulted in right inner knob having left inner knob function whilst setting ID in flightplan pages

This commit is contained in:
Dave Luff 2010-11-21 15:56:15 +00:00
parent 19d94f21e2
commit 35e63ca406

View file

@ -1020,9 +1020,9 @@ void KLN89FplPage::Knob2Right1() {
ShowScratchpadMessage("Invald", " Add "); ShowScratchpadMessage("Invald", " Add ");
} else { } else {
if((_wLinePos + 1) > _entWpStr.size()) { if((_wLinePos + 1) > _entWpStr.size()) {
_entWpStr += '9'; _entWpStr += 'A';
} else { } else {
_entWpStr[_wLinePos] = _kln89->DecChar(_entWpStr[_wLinePos], (_wLinePos == 0 ? false : true)); _entWpStr[_wLinePos] = _kln89->IncChar(_entWpStr[_wLinePos], (_wLinePos == 0 ? false : true));
} }
_bEntWp = true; _bEntWp = true;
_fp0SelWpId.clear(); // Waypoints don't become the DTO default whilst being entered. _fp0SelWpId.clear(); // Waypoints don't become the DTO default whilst being entered.