mirror of
https://codeberg.org/dnkl/foot.git
synced 2026-02-05 04:06:08 -05:00
fdm: bug: 'ret' was renamed to 'r', and replaced with another 'ret'
This commit is contained in:
parent
8ffa021de8
commit
e09bda322a
1 changed files with 1 additions and 1 deletions
2
fdm.c
2
fdm.c
|
|
@ -164,7 +164,7 @@ fdm_poll(struct fdm *fdm)
|
||||||
bool ret = true;
|
bool ret = true;
|
||||||
|
|
||||||
fdm->is_polling = true;
|
fdm->is_polling = true;
|
||||||
for (int i = 0; i < ret; i++) {
|
for (int i = 0; i < r; i++) {
|
||||||
struct handler *fd = events[i].data.ptr;
|
struct handler *fd = events[i].data.ptr;
|
||||||
if (fd->deleted)
|
if (fd->deleted)
|
||||||
continue;
|
continue;
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue