mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 06:51:44 +00:00
removed some C99-isms
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@25136 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
53d519dbbc
commit
b0c18f717c
2 changed files with 5 additions and 1 deletions
|
@ -1,6 +1,8 @@
|
|||
2007-05-10 Riccardo Mottola <rmottola@users.sf.net>
|
||||
|
||||
* Source/NSAnimation.m: removed some C99-isms
|
||||
* Source/NSBitmapImageRep+GIF.m
|
||||
|
||||
|
||||
2007-05-10 Richard Frith-Macdonald <rfm@gnu.org>
|
||||
|
||||
|
|
|
@ -112,9 +112,11 @@ static void gs_gif_init_input_source(gs_gif_input_src *src, NSData *data)
|
|||
/* Function to write GIF to buffer */
|
||||
static int gs_gif_output(GifFileType *file, const GifByteType *buffer, int len)
|
||||
{
|
||||
NSMutableData *nsData;
|
||||
|
||||
if (len <= 0) return 0;
|
||||
|
||||
NSMutableData * nsData = file->UserData;
|
||||
nsData = file->UserData;
|
||||
[nsData appendBytes: buffer length: len];
|
||||
return len;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue