1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/japanese/kon2-16dot/files/patch-af
Masafumi Max NAKANE cb1faee85d Replacing kon with kon2 since kon2 is upper compatible to kon.
PR:		4040
Suggested by:	Hideyuki Suzuki <hideyuki@sat.t.u-tokyo.ac.jp>
1997-07-10 13:15:00 +00:00

12 lines
387 B
Plaintext

--- src/term.c.orig Sat Jan 25 00:03:58 1997
+++ src/term.c Sat Apr 26 03:54:03 1997
@@ -205,7 +205,7 @@
PollCursor(TRUE);
}
if (FD_ISSET(sockFd, &readFds)) SocketInterface(sockFd);
- if (mInfo.has_mouse) {
+ if (mInfo.has_mouse && mouseFd > 0) {
if (FD_ISSET(mouseFd, &readFds) && con.active) {
i = read(mouseFd, buff, BUFSIZ);
if (i > 0) MouseGetPacket(buff, i);