Remove a stray ';' which made moused fail on read()s in all cases.
Prodded-By: Andrey A. Chernov <ache@FreeBSD.org> Prodded-By: Soren Schmidt <sos@freebsd.dk> Prodded-By: Louis A. Mamakos <louie@TransSys.COM>
This commit is contained in:
parent
57f3c7da07
commit
93563adec1
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=53950
@ -746,7 +746,7 @@ moused(void)
|
||||
}
|
||||
|
||||
/* mouse event */
|
||||
if (read(rodent.mfd, &b, 1) == -1);
|
||||
if (read(rodent.mfd, &b, 1) == -1)
|
||||
return; /* file seems to be closed on us */
|
||||
|
||||
if (r_protocol(b, &action)) { /* handler detected action */
|
||||
|
Loading…
Reference in New Issue
Block a user