You are viewing a plain text version of this content. The canonical link for it is here.
Posted to fop-commits@xmlgraphics.apache.org by ke...@apache.org on 2002/07/08 10:48:27 UTC

cvs commit: xml-fop/src/org/apache/fop/image JimiImage.java

keiron      2002/07/08 01:48:26

  Modified:    src/org/apache/fop/image JimiImage.java
  Log:
  fixed compile error
  
  Revision  Changes    Path
  1.12      +3 -3      xml-fop/src/org/apache/fop/image/JimiImage.java
  
  Index: JimiImage.java
  ===================================================================
  RCS file: /home/cvs/xml-fop/src/org/apache/fop/image/JimiImage.java,v
  retrieving revision 1.11
  retrieving revision 1.12
  diff -u -r1.11 -r1.12
  --- JimiImage.java	27 Jun 2002 11:45:54 -0000	1.11
  +++ JimiImage.java	8 Jul 2002 08:48:26 -0000	1.12
  @@ -131,8 +131,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: fop-cvs-unsubscribe@xml.apache.org
For additional commands, e-mail: fop-cvs-help@xml.apache.org