From 35e63ca4062059d7eab6c9bb3f2e32acb0376694 Mon Sep 17 00:00:00 2001 From: Dave Luff Date: Sun, 21 Nov 2010 15:56:15 +0000 Subject: [PATCH] Fix copy-and-paste error which resulted in right inner knob having left inner knob function whilst setting ID in flightplan pages --- src/Instrumentation/KLN89/kln89_page_fpl.cxx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/Instrumentation/KLN89/kln89_page_fpl.cxx b/src/Instrumentation/KLN89/kln89_page_fpl.cxx index f463b155f..632acaf2e 100644 --- a/src/Instrumentation/KLN89/kln89_page_fpl.cxx +++ b/src/Instrumentation/KLN89/kln89_page_fpl.cxx @@ -1020,9 +1020,9 @@ void KLN89FplPage::Knob2Right1() { ShowScratchpadMessage("Invald", " Add "); } else { if((_wLinePos + 1) > _entWpStr.size()) { - _entWpStr += '9'; + _entWpStr += 'A'; } else { - _entWpStr[_wLinePos] = _kln89->DecChar(_entWpStr[_wLinePos], (_wLinePos == 0 ? false : true)); + _entWpStr[_wLinePos] = _kln89->IncChar(_entWpStr[_wLinePos], (_wLinePos == 0 ? false : true)); } _bEntWp = true; _fp0SelWpId.clear(); // Waypoints don't become the DTO default whilst being entered. -- 2.39.5