mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-29 16:01:38 +00:00
([RunLoop -acceptInputForMode:beforeDate:]): Fix assignment of
TIMEOUT.TV_USEC. (Reported by Richard Frith-Macdonald <richard@brainstorm.co.uk>.) git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@1880 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
5e35abc3ab
commit
f9e6a93d45
1 changed files with 1 additions and 1 deletions
|
@ -291,7 +291,7 @@ static RunLoop *current_run_loop;
|
|||
return;
|
||||
}
|
||||
timeout.tv_sec = ti;
|
||||
timeout.tv_usec = ti * 1000000.0;
|
||||
timeout.tv_usec = (ti - timeout.tv_sec) * 1000000.0;
|
||||
select_timeout = &timeout;
|
||||
}
|
||||
else if (ti <= 0.0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue