cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From upayav...@apache.org
Subject cvs commit: cocoon-2.1/src/java/org/apache/cocoon/reading ImageReader.java
Date Tue, 24 Feb 2004 12:44:57 GMT
upayavira    2004/02/24 04:44:56

  Modified:    src/java/org/apache/cocoon/reading ImageReader.java
  Log:
  Fixing bug no 27184, thanks to Jean-Baptiste Quenot
  
  Revision  Changes    Path
  1.5       +2 -2      cocoon-2.1/src/java/org/apache/cocoon/reading/ImageReader.java
  
  Index: ImageReader.java
  ===================================================================
  RCS file: /home/cvs/cocoon-2.1/src/java/org/apache/cocoon/reading/ImageReader.java,v
  retrieving revision 1.4
  retrieving revision 1.5
  diff -u -r1.4 -r1.5
  --- ImageReader.java	12 Dec 2003 09:41:33 -0000	1.4
  +++ ImageReader.java	24 Feb 2004 12:44:56 -0000	1.5
  @@ -147,7 +147,7 @@
           }
   
           if (!enlarge) {
  -            if ((nw > ow && nh <= 0) || (oh > nh && nw <=0))
{
  +            if ((nw > ow && nh <= 0) || (nh > oh && nw <=0))
{
                   wm = 1.0d;
                   hm = 1.0d;
               } else if (nw > ow) {
  
  
  

Mime
View raw message