Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/atari/dev PR/50868: David Binderman: Fix operator p...



details:   https://anonhg.NetBSD.org/src/rev/a8d848b7ec76
branches:  trunk
changeset: 343883:a8d848b7ec76
user:      christos <christos%NetBSD.org@localhost>
date:      Mon Feb 29 18:25:29 2016 +0000

description:
PR/50868: David Binderman: Fix operator precedence.

diffstat:

 sys/arch/atari/dev/ite.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r 85a48cb6db92 -r a8d848b7ec76 sys/arch/atari/dev/ite.c
--- a/sys/arch/atari/dev/ite.c  Mon Feb 29 18:24:31 2016 +0000
+++ b/sys/arch/atari/dev/ite.c  Mon Feb 29 18:25:29 2016 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ite.c,v 1.76 2014/07/25 08:10:32 dholland Exp $        */
+/*     $NetBSD: ite.c,v 1.77 2016/02/29 18:25:29 christos Exp $        */
 
 /*
  * Copyright (c) 1988 University of Utah.
@@ -44,7 +44,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.76 2014/07/25 08:10:32 dholland Exp $");
+__KERNEL_RCSID(0, "$NetBSD: ite.c,v 1.77 2016/02/29 18:25:29 christos Exp $");
 
 #include "opt_ddb.h"
 
@@ -801,7 +801,7 @@
        /* handle dead keys */
        if (key->mode & KBD_MODE_DEAD) {
                /* if entered twice, send accent itself */
-               if (last_dead == key->mode & KBD_MODE_ACCMASK)
+               if (last_dead == (key->mode & KBD_MODE_ACCMASK))
                        last_dead = 0;
                else {
                        last_dead = key->mode & KBD_MODE_ACCMASK;



Home | Main Index | Thread Index | Old Index