mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 08:50:57 +00:00
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:
parent
ad78c17b37
commit
fca54ecd29
5 changed files with 24 additions and 6 deletions
|
@ -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++)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue