[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for java.awt.image.ComponentSampleModel
From: |
Thomas Fitzsimmons |
Subject: |
Re: Patch for java.awt.image.ComponentSampleModel |
Date: |
Tue, 06 Apr 2004 19:06:49 -0400 |
On Mon, 2004-04-05 at 11:02, Ingo Prötel wrote:
> Note new attachment.
>
> Ingo Prötel wrote:
> > I suggest the following patch:
> >
> > 2004-04-05 Ingo Proetel <address@hidden>
> >
> > * java/awt/image/ComponentSampleModel.java (setDataSamples):Do not
> > reset scanline stride.
> >
> >
> if (scanlineStride == rowSize)
> {
> // Collapse scan lines:
> - scanlineStride = rowSize *= h;
> + rowSize *= h;
> h = 1;
> }
Can you accompany your patches with a description of the problem they
solve? What's the rationale for this change?
Tom