mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 03:11:18 +00:00
removed some C99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25137 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
b0c18f717c
commit
ecaea6d777
2 changed files with 5 additions and 2 deletions
|
@ -1,7 +1,8 @@
|
|||
2007-05-10 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/NSAnimation.m: removed some C99-isms
|
||||
* Source/NSBitmapImageRep+GIF.m
|
||||
* Source/NSBitmapImageRep+GIF.m : removed some C99-isms
|
||||
* Source/NSDocument.m : removed some C99-isms
|
||||
|
||||
|
||||
2007-05-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
|
|
@ -565,12 +565,14 @@ withContentsOfURL: (NSURL *)url
|
|||
- (NSFileWrapper *)fileWrapperOfType: (NSString *)type
|
||||
error: (NSError **)error
|
||||
{
|
||||
NSData *data;
|
||||
|
||||
if (OVERRIDDEN(fileWrapperRepresentationOfType:))
|
||||
{
|
||||
return [self fileWrapperRepresentationOfType: type];
|
||||
}
|
||||
|
||||
NSData *data = [self dataOfType: type error: error];
|
||||
data = [self dataOfType: type error: error];
|
||||
|
||||
if (data == nil)
|
||||
return nil;
|
||||
|
|
Loading…
Reference in a new issue