This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [gui] Add BandCombineOp


Hi,

I just glanced at:
http://gcc.gnu.org/ml/java-patches/2004-q4/msg00399.html

And theses 2 loops look weird to me:

  for (int y = src.getMinY(); y < src.getHeight() - src.getMinY(); y++)
    for (int x = src.getMinX(); x < src.getWidth() - src.getMinX(); x++)

Are you sure it should not be "+" instead of "-"?
Cedric


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]