Some unrelated bug fixes.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@18672 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
FredKiefer 2004-02-25 23:27:46 +00:00
parent ad78c17b37
commit fca54ecd29
5 changed files with 24 additions and 6 deletions

View file

@ -1211,7 +1211,7 @@ int contribution(NSPoint point, float dir, NSPoint start, NSPoint end, BOOL *hit
NSPoint first_p, last_p;
int count = [self elementCount];
BOOL first = YES;
float dir = 2 * PI * random() / RAND_MAX;
float dir = 2 * PI * rand() / RAND_MAX;
BOOL hit;
for(i = 0; i < count; i++)