Source-Changes-HG archive

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

[src/trunk]: src/sys/dev/pckbport Make whitespace more consistent.



details:   https://anonhg.NetBSD.org/src/rev/0218eaa0f733
branches:  trunk
changeset: 769403:0218eaa0f733
user:      jakllsch <jakllsch%NetBSD.org@localhost>
date:      Thu Sep 08 15:26:26 2011 +0000

description:
Make whitespace more consistent.

diffstat:

 sys/dev/pckbport/pms.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 091587a12f0f -r 0218eaa0f733 sys/dev/pckbport/pms.c
--- a/sys/dev/pckbport/pms.c    Thu Sep 08 15:13:27 2011 +0000
+++ b/sys/dev/pckbport/pms.c    Thu Sep 08 15:26:26 2011 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: pms.c,v 1.32 2011/09/07 19:05:13 jakllsch Exp $ */
+/* $NetBSD: pms.c,v 1.33 2011/09/08 15:26:26 jakllsch Exp $ */
 
 /*-
  * Copyright (c) 2004 Kentaro Kurahone.
@@ -26,7 +26,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: pms.c,v 1.32 2011/09/07 19:05:13 jakllsch Exp $");
+__KERNEL_RCSID(0, "$NetBSD: pms.c,v 1.33 2011/09/08 15:26:26 jakllsch Exp $");
 
 #include "opt_pms.h"
 
@@ -498,7 +498,7 @@
        int newbuttons = 0;
 
        if (!sc->sc_enabled) {
-               /* Interrupts are not expected.  Discard the byte. */
+               /* Interrupts are not expected. Discard the byte. */
                return;
        }
 
@@ -585,9 +585,9 @@
                        dz = sc->packet[3] & 0xf;
                        if (dz >= 8)
                                dz -= 16;
-                       if (sc->packet[3] & PMS_4BUTMASK)
+                       if (sc->packet[3] & PMS_4BUTMASK)
                                newbuttons |= 0x8;
-                       if (sc->packet[3] & PMS_5BUTMASK)
+                       if (sc->packet[3] & PMS_5BUTMASK)
                                newbuttons |= 0x10;
                } else {
                        DPRINTF(("pmsinput: why am I looking at this byte?\n"));



Home | Main Index | Thread Index | Old Index