mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 22:30:37 +00:00
* Source/NSBitmapImageRep+JPEG.m (-_JPEGRepresentationWithProperties:errorMessage:): Use the
correct size for the structure in memset. Patch by Philippe Roussel <p.o.roussel@free.fr>. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@30132 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
f2fd7b10c2
commit
f4908e6f24
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
|||
2010-04-12 Fred Kiefer <FredKiefer@gmx.de>
|
||||
|
||||
* Source/NSBitmapImageRep+JPEG.m
|
||||
(-_JPEGRepresentationWithProperties:errorMessage:): Use the
|
||||
correct size for the structure in memset.
|
||||
Patch by Philippe Roussel <p.o.roussel@free.fr>.
|
||||
|
||||
2010-04-10 Eric Wasylishen <ewasylishen@gmail.com>
|
||||
|
||||
* Headers/AppKit/NSWindow.h
|
||||
|
|
|
@ -553,7 +553,7 @@ static void gs_jpeg_memory_dest_destroy (j_compress_ptr cinfo)
|
|||
return nil;
|
||||
}
|
||||
|
||||
memset((void*)&cinfo, 0, sizeof(struct jpeg_decompress_struct));
|
||||
memset((void*)&cinfo, 0, sizeof(struct jpeg_compress_struct));
|
||||
|
||||
imageSource = [self bitmapData];
|
||||
sPP = [self samplesPerPixel];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue