moved a declaration at the beginning of the method (gcc 2.9x ...)

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@23388 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
rio 2006-09-04 00:11:45 +00:00
parent a6ae10d7e7
commit adef7d7cf6

View file

@ -504,6 +504,7 @@ nil. */
int sPP = [self samplesPerPixel];
int width = [self size].width;
int height = [self size].height;
int row_stride = width * sPP;
int quality = 90;
NSNumber* qualityNumber = nil;
NSString* colorSpace = nil;
@ -565,7 +566,6 @@ nil. */
jpeg_start_compress (&cinfo, TRUE);
JSAMPROW row_pointer [1]; // pointer to a single row
int row_stride = width * sPP;
while (cinfo.next_scanline < cinfo.image_height)
{