diff options
author | apnadkarni <apnmbx-wits@yahoo.com> | 2023-04-18 12:47:38 (GMT) |
---|---|---|
committer | apnadkarni <apnmbx-wits@yahoo.com> | 2023-04-18 12:47:38 (GMT) |
commit | 63d55485eb9be2e21c911bdc78e0367d8d7ecb2c (patch) | |
tree | 80450d56ce49849889e9233fac6643a3589623a0 /unix/tkUnixSelect.c | |
parent | c6eb4388bed08a7f24b9de6cd12d1500cab024ca (diff) | |
download | tk-63d55485eb9be2e21c911bdc78e0367d8d7ecb2c.zip tk-63d55485eb9be2e21c911bdc78e0367d8d7ecb2c.tar.gz tk-63d55485eb9be2e21c911bdc78e0367d8d7ecb2c.tar.bz2 |
Missed more than a few TIP 660 changes. Possibly more to come.
Diffstat (limited to 'unix/tkUnixSelect.c')
-rw-r--r-- | unix/tkUnixSelect.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/unix/tkUnixSelect.c b/unix/tkUnixSelect.c index 89a4920..9b0437f 100644 --- a/unix/tkUnixSelect.c +++ b/unix/tkUnixSelect.c @@ -479,8 +479,8 @@ TkSelPropProc( * offset to -1 to indicate we are done. */ - if (numItems + 1 < TK_SEL_BYTES_AT_ONCE + 1) { - if (numItems + 1 < 2) { + if (numItems < TK_SEL_BYTES_AT_ONCE) { + if (numItems < 1) { incrPtr->converts[i].offset = -1; incrPtr->numIncrs--; } else { |