From d450900e0bfd44006079698d6e0406996eae09e9 Mon Sep 17 00:00:00 2001
From: Dave Luff <daveluff@ntlworld.com>
Date: Wed, 8 Dec 2010 19:03:54 +0000
Subject: [PATCH] KLN89: Fix a tiny UI bug - don't draw the indicator bar on
 the DTO page

---
 src/Instrumentation/KLN89/kln89.cxx | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/src/Instrumentation/KLN89/kln89.cxx b/src/Instrumentation/KLN89/kln89.cxx
index 67ab0e99f..98b24f86b 100644
--- a/src/Instrumentation/KLN89/kln89.cxx
+++ b/src/Instrumentation/KLN89/kln89.cxx
@@ -357,11 +357,11 @@ void KLN89::update(double dt) {
 		}
 	}
 	
+	// Draw the indicator that shows which page we are on.
 	if(_curPage == 6 && _activePage->GetSubPage() == 3) {
 		// Don't draw the bar on the nav-4 page
-	} else if(_activePage == _nrst_page) {
-		// Don't draw the bar on the nearest page
-	} else {
+	} else if((_activePage != _nrst_page) && (_activePage != _dir_page) && (!_dispMsg)) {
+		// Don't draw the bar on the NRST, DTO or MSG pages
 		DrawBar(_curPage);
 	}