mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 08:21:25 +00:00
Minor fix
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/base/trunk@16372 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
360506a029
commit
f06c0dea4f
2 changed files with 9 additions and 3 deletions
|
@ -725,7 +725,8 @@ static NSDate *theFuture;
|
|||
forMode: (NSString*)mode
|
||||
{
|
||||
NSRunLoop *loop = [NSRunLoop currentRunLoop];
|
||||
unsigned c;
|
||||
unsigned int i;
|
||||
unsigned int c;
|
||||
char dummy;
|
||||
|
||||
read(inputFd, &dummy, 1);
|
||||
|
@ -733,9 +734,9 @@ static NSDate *theFuture;
|
|||
[subthreadsLock lock];
|
||||
|
||||
c = [perfArray count];
|
||||
while (c-- > 0)
|
||||
for (i = 0; i < c; i++)
|
||||
{
|
||||
GSPerformHolder *h = [perfArray objectAtIndex: c];
|
||||
GSPerformHolder *h = [perfArray objectAtIndex: i];
|
||||
|
||||
[loop performSelector: @selector(fire)
|
||||
target: h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue