Changeset 6454

Show
Ignore:
Timestamp:
12/21/07 09:23:59 (1 year ago)
Author:
westi
Message:

Fix funky formatting

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/wp-admin/includes/image.php

    r6439 r6454  
    3636 
    3737    // preserve PNG transparency 
    38     if( IMAGETYPE_PNG == $sourceImageType && function_exists( 'imagealphablending' ) &&    function_exists( 'imagesavealpha' )) { 
    39         imagealphablending($thumbnail, false); 
    40         imagesavealpha($thumbnail,true); 
    41     }   
     38    if ( IMAGETYPE_PNG == $sourceImageType && function_exists( 'imagealphablending' ) && function_exists( 'imagesavealpha' ) ) { 
     39        imagealphablending( $thumbnail, false); 
     40        imagesavealpha( $thumbnail, true); 
     41    } 
    4242     
    4343    @ imagecopyresampled( $thumbnail, $image, 0, 0, 0, 0, $image_new_width, $image_new_height, $sourceImageWidth, $sourceImageHeight );