Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[xsrc/trunk]: xsrc/external/mit/xorg-server/dist/hw/netbsd/x68k Fix a suspici...



details:   https://anonhg.NetBSD.org/xsrc/rev/fcf8c7cbaeb6
branches:  trunk
changeset: 10606:fcf8c7cbaeb6
user:      tsutsui <tsutsui%NetBSD.org@localhost>
date:      Sun Nov 01 11:44:55 2020 +0000

description:
Fix a suspicious chunk disabled on xfree 4.x migration as sunKbd.c does.

diffstat:

 external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r c218d709db8a -r fcf8c7cbaeb6 external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c
--- a/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c    Sun Nov 01 11:40:53 2020 +0000
+++ b/external/mit/xorg-server/dist/hw/netbsd/x68k/x68kKbd.c    Sun Nov 01 11:44:55 2020 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: x68kKbd.c,v 1.8 2020/08/01 20:21:00 tsutsui Exp $ */
+/* $NetBSD: x68kKbd.c,v 1.9 2020/11/01 11:44:55 tsutsui Exp $ */
 /*-------------------------------------------------------------------------
  * Copyright (c) 1996 Yasushi Yamasaki
  * All rights reserved.
@@ -185,10 +185,8 @@
         KeySyms->minKeyCode += MIN_KEYCODE;
         KeySyms->maxKeyCode += MIN_KEYCODE;
     }
-#if 0
     if (KeySyms->maxKeyCode > MAX_KEYCODE)
-        KeySyms->maxKeyCode += MAX_KEYCODE;
-#endif
+        KeySyms->maxKeyCode = MAX_KEYCODE;
     for (i = KeySyms->minKeyCode;
          i < KeySyms->maxKeyCode; i++) {
         switch (KeySyms->map[(i-KeySyms->minKeyCode)*4]) {



Home | Main Index | Thread Index | Old Index