Better minimum timer value.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@4780 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
richard 1999-08-31 14:28:23 +00:00
parent ef03e7b57c
commit 9a7cf95c62
2 changed files with 6 additions and 1 deletions

View file

@ -38,7 +38,7 @@
repeats: (BOOL)f
{
if (seconds <= 0)
seconds = 1;
seconds = 0.01;
_interval = seconds;
_date = [[NSDate allocWithZone: [self zone]]
initWithTimeIntervalSinceNow: seconds];