Minor bug fix suggested by Pascal Hoftsee. Simply moved one line down below the part where it was being referenced after the release.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/apps/projectcenter/trunk@20691 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Gregory John Casamento 2005-02-12 05:41:17 +00:00
parent ca6e580622
commit ab6698ec55
2 changed files with 9 additions and 1 deletions

View file

@ -1,3 +1,11 @@
2005-02-12 Pascal Hoftsee <caelian@gmail.com>
Committed by Gregory Jonh Casamento <greg_casamento@yahoo.com>
* Library/PCButton.m: Corrected issue in
-[PCButton _updateTrackingRects:] which was causing a SIGBUS
to occur on FreeBSD by simply moving the remove method call below
the line which was referencing the rect.
2005-01-26 Serg Stoyan <stoyan255@ukr.net>
* Release 0.4.2

View file

@ -111,11 +111,11 @@
for (i = 0; i < j; i++)
{
tr = [_tracking_rects objectAtIndex:i];
[self removeTrackingRect:tr->tag];
// NSLog(@"PCButton: tr: %i data: %@", tr->tag, tr->user_data);
string = [(NSString *)tr->user_data copy];
[self removeTrackingRect:tr->tag];
rect = [self frame];
rect.origin.x = 0;