summaryrefslogtreecommitdiffstats
path: root/usr.sbin/moused
diff options
context:
space:
mode:
authoruqs <uqs@FreeBSD.org>2011-12-30 10:58:14 +0000
committeruqs <uqs@FreeBSD.org>2011-12-30 10:58:14 +0000
commit415a3a9b966c1522657d435a1785904f41accc78 (patch)
tree8895a44928d5c242eb33f5909e96b16aa8b19f50 /usr.sbin/moused
parentc12910138c122eb89614cb32832cc1e81e4c23a7 (diff)
downloadFreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.zip
FreeBSD-src-415a3a9b966c1522657d435a1785904f41accc78.tar.gz
Spelling fixes for usr.sbin/
Diffstat (limited to 'usr.sbin/moused')
-rw-r--r--usr.sbin/moused/moused.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/moused/moused.c b/usr.sbin/moused/moused.c
index 84e5c0b..c88f8b9 100644
--- a/usr.sbin/moused/moused.c
+++ b/usr.sbin/moused/moused.c
@@ -1025,7 +1025,7 @@ moused(void)
{
struct mouse_info mouse;
mousestatus_t action0; /* original mouse action */
- mousestatus_t action; /* interrim buffer */
+ mousestatus_t action; /* interim buffer */
mousestatus_t action2; /* mapped action */
struct timeval timeout;
fd_set fds;
@@ -2278,7 +2278,7 @@ r_protocol(u_char rBuf, mousestatus_t *act)
act->button |= ((pBuf[0] & MOUSE_PS2_TAP)) ? 0 : MOUSE_BUTTON4DOWN;
break;
case MOUSE_MODEL_NETSCROLL:
- /* three addtional bytes encode buttons and wheel events */
+ /* three additional bytes encode buttons and wheel events */
act->button |= (pBuf[3] & MOUSE_PS2_BUTTON3DOWN)
? MOUSE_BUTTON4DOWN : 0;
act->button |= (pBuf[3] & MOUSE_PS2_BUTTON1DOWN)
OpenPOWER on IntegriCloud