keiron      2002/06/18 06:41:09

  Modified:    src/org/apache/fop/image JAIImage.java
  Log:
  fixed compile err
  
  Revision  Changes    Path
  1.5       +3 -3      xml-fop/src/org/apache/fop/image/JAIImage.java
  
  Index: JAIImage.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/JAIImage.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- JAIImage.java     25 Feb 2002 09:31:03 -0000      1.4
  +++ JAIImage.java     18 Jun 2002 13:41:09 -0000      1.5
  @@ -125,8 +125,8 @@
               for (int i = 0; i < this.m_height; i++) {
                   for (int j = 0; j < this.m_width; j++) {
                       int p = tmpMap[i * this.m_width + j];
  -                    int r = (p > > 16) & 0xFF;
  -                    int g = (p > > 8) & 0xFF;
  +                    int r = (p >> 16) & 0xFF;
  +                    int g = (p >> 8) & 0xFF;
                       int b = (p) & 0xFF;
                       this.m_bitmaps[3 * (i * this.m_width + j)] =
                         (byte)(r & 0xFF);
  
  
  

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to