mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 17:01:16 +00:00
Fix small bug in last commit.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@28996 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c5a5827272
commit
81a8907f45
2 changed files with 7 additions and 2 deletions
|
@ -432,7 +432,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
return self;
|
||||
}
|
||||
|
||||
- (id)initWithContentsOfURL:(NSURL *)anURL
|
||||
- (id) initWithContentsOfURL: (NSURL *)anURL
|
||||
{
|
||||
NSArray *array = [NSImageRep imageRepsWithContentsOfURL: anURL];
|
||||
|
||||
|
@ -503,7 +503,7 @@ repd_for_rep(NSArray *_reps, NSImageRep *rep)
|
|||
|
||||
copy = (NSImage*)NSCopyObject (self, 0, zone);
|
||||
|
||||
_name = nil;
|
||||
copy->_name = nil;
|
||||
RETAIN(_fileName);
|
||||
RETAIN(_color);
|
||||
copy->_lockedView = nil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue