mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-25 06:30:55 +00:00
Fixed bug introduced in my last commit on the Ibeam cursor issue.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/branches/gnustep_testplant_branch@37216 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
44c6dfb650
commit
c6fdf580ff
2 changed files with 3 additions and 3 deletions
|
@ -669,8 +669,9 @@ backgroundColorHint:(NSColor *)bg
|
|||
NSLog(@"An NSCursor object was encoded with the image "
|
||||
@"file://localhost/Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Resources/DVTIbeamCursor.tiff. "
|
||||
@"This cursor was automatically substituted with [NSCursor IBeamCursor].");
|
||||
|
||||
self = [NSCursor IBeamCursor];
|
||||
|
||||
[image setName:nil];
|
||||
self = RETAIN([NSCursor IBeamCursor]);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
|
|
@ -1725,7 +1725,6 @@ static NSSize GSResolutionOfImageRep(NSImageRep *rep)
|
|||
// in the NSCursor's initWithCoder:
|
||||
if ([[tmp absoluteString] isEqualToString:@"file://localhost/Applications/Xcode.app/Contents/SharedFrameworks/DVTKit.framework/Resources/DVTIbeamCursor.tiff"])
|
||||
{
|
||||
[nameDict removeObjectForKey:[tmp absoluteString]];
|
||||
[self setName:[tmp absoluteString]];
|
||||
}
|
||||
else if ([[tmp absoluteString] rangeOfString:@"/Xcode.app/"].length > 0
|
||||
|
|
Loading…
Reference in a new issue