From 6d053582c9d150d567aafc3d7c0dace4ff743957 Mon Sep 17 00:00:00 2001
From: deuce <>
Date: Fri, 13 Jan 2006 00:49:58 +0000
Subject: [PATCH] Also need to check for lower-case shortcut keys.

---
 exec/load/lightbar.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/exec/load/lightbar.js b/exec/load/lightbar.js
index 60f97f78cf..a8a6bae858 100644
--- a/exec/load/lightbar.js
+++ b/exec/load/lightbar.js
@@ -373,7 +373,7 @@ function Lightbar_getval(current)
 				break;
 			default:
 				for(i=0; i<this.items.length; i++) {
-					if(this.items[i].text.indexOf('|'+key)!=-1) {
+					if(this.items[i].text.indexOf('|'+key)!=-1 || this.items[i].text.indexOf('|'+key.toLowerCase())!=-1) {
 						if(this.items[i].retval==undefined)
 							continue;
 						this.current=i;
-- 
GitLab