mirror of
https://github.com/rkd77/elinks.git
synced 2025-01-03 14:57:44 -05:00
[kbd] Test commit. Change <= 0 to < 0
I'm trying to debug mouse issues.
This commit is contained in:
parent
1d677720a4
commit
84f6a08f83
@ -1245,7 +1245,7 @@ in_kbd(struct itrm *itrm)
|
|||||||
|
|
||||||
r = safe_read(itrm->in.std, itrm->in.queue.data + itrm->in.queue.len,
|
r = safe_read(itrm->in.std, itrm->in.queue.data + itrm->in.queue.len,
|
||||||
ITRM_IN_QUEUE_SIZE - itrm->in.queue.len);
|
ITRM_IN_QUEUE_SIZE - itrm->in.queue.len);
|
||||||
if (r <= 0) {
|
if (r < 0) {
|
||||||
free_itrm(itrm);
|
free_itrm(itrm);
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user