From mint-bounce@lists.fishpool.fi  Thu Jan 14 16:18:37 2010
X-Authenticated: #48718759
X-Provags-ID: V01U2FsdGVkX1++tWcj9eW+cSaood+hHmrTrEahAxRi/ZE4YZOb93
	GB3YtHBn4wVtXF
Message-ID: <151823.754978494-sendEmail@descaro>
From: "Helmut Karlowski" <hk10@gmx.de>
To: "alanh@fairlite.co.uk" <alanh@fairlite.co.uk>,
        "mint@lists.fishpool.fi" <mint@lists.fishpool.fi>
Cc: "hk10@gmx.de" <hk10@gmx.de>
Subject: [MiNT] patch:XaAES:k_keybd
Date: Thu, 14 Jan 2010 21:15:47 +0000
X-Mailer: sendEmail-1.55
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="----MIME delimiter for sendEmail-577413.372070627"
X-Antivirus: avast! (VPS 100114-1, 14.01.2010), Outbound message
X-Antivirus-Status: Clean
X-Y-GMX-Trusted: 0
X-FuHaFi: 0.87,0.5
X-ecartis-version: Ecartis v1.0.0
Sender: mint-bounce@lists.fishpool.fi
Errors-to: mint-bounce@lists.fishpool.fi
X-original-sender: hk10@gmx.de
Precedence: bulk
List-help: <mailto:ecartis@lists.fishpool.fi?Subject=help>
List-unsubscribe: <mailto:mint-request@lists.fishpool.fi?Subject=unsubscribe>
List-Id: <mint.lists.fishpool.fi>
X-List-ID: <mint.lists.fishpool.fi>
List-subscribe: <mailto:mint-request@lists.fishpool.fi?Subject=subscribe>
List-owner: <mailto:tjhukkan@fishpool.fi>
List-post: <mailto:mint@lists.fishpool.fi>

This is a multi-part message in MIME format. To properly display this message you need a MIME-Version 1.0 compliant Email program.

------MIME delimiter for sendEmail-577413.372070627
Content-Type: text/plain;
  charset="iso-8859-1"
  Content-Transfer-Encoding: quoted-printable

-------------------------------------------------------------
added return in switch to avoid fallthrough
removed redundant break
-------------------------------------------------------------



------MIME delimiter for sendEmail-577413.372070627
Content-Type: text/plain;
 name="k_keybd.patch"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="k_keybd.patch"

diff -u -B -I '$Id' src.cvs/k_keybd.c src.km/k_keybd.c
--- src.cvs/k_keybd.c	2010-01-09 19:14:35.000000000 +0100
+++ src.km/k_keybd.c	2010-01-13 11:59:00.812500000 +0100
@@ -473,20 +473,19 @@
 			post_cevent(C.Hlp, CE_winctxt, TOP_WINDOW, NULL, 0,0, NULL, &md);
 		}
 		return true;
-		break;
 		case 'B':	/* system-window ('S' eaten by MiNT?)*/
 		if( !C.update_lock )
 		{
 			post_cevent(C.Hlp, ceExecfunc, open_systemalerts,NULL, 1, 0, NULL,NULL);
 		}
 		return true;
-		case NK_HELP:
+		case NK_HELP:	/* about-window */
 		if( !C.update_lock )
 		{
 			post_cevent(C.Hlp, ceExecfunc, open_about,NULL, 1,0, NULL,NULL);
 		}
 		return true;
-		case 'K':	/* about-window */
+		case 'K':	/* launcher */
 		if( !C.update_lock )
 		{
 			post_cevent(C.Hlp, ceExecfunc, open_launcher,NULL, 1,0, NULL,NULL);
@@ -497,6 +496,7 @@
 		{
 			update_windows_below(lock, &screen.r, NULL, window_list, NULL);
 			redraw_menu(lock);
+			return true;
 		}
 		case 'M':				/* ctrl+alt+M  recover mouse */
 		{


------MIME delimiter for sendEmail-577413.372070627--


