[wellwell-devel] [SCM] Interchange wellwell catalog branch, master, updated. 6af117f928d840ab72b0426d1631c413da0aa308

Stefan Hornburg racke at rt.icdevgroup.org
Thu May 20 18:27:25 UTC 2010


       via  6af117f928d840ab72b0426d1631c413da0aa308 (commit)
      from  737b2d2299aea1d15ec63913cd9028ba2be79224 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 6af117f928d840ab72b0426d1631c413da0aa308
Author: Stefan Hornburg (Racke) <racke at linuxia.de>
Date:   Thu May 20 20:25:58 2010 +0200

    Fix cropping at the wrong ends of the picture.

-----------------------------------------------------------------------

Summary of changes and diff:
 lib/Vend/Picture.pm |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/lib/Vend/Picture.pm b/lib/Vend/Picture.pm
index 27cb0f9..92c4636 100644
--- a/lib/Vend/Picture.pm
+++ b/lib/Vend/Picture.pm
@@ -1,6 +1,6 @@
 # Vend::Picture - Interchange image helper functions
 #
-# Copyright (C) 2004-2009 Stefan Hornburg (Racke) <racke at linuxia.de>.
+# Copyright (C) 2004-2010 Stefan Hornburg (Racke) <racke at linuxia.de>.
 # Copyright (C) 2010 Rok Ružič <rok.ruzic at informa.si>.
 #
 # This program is free software; you can redistribute it and/or modify
@@ -235,7 +235,7 @@ sub resize {
 		$orig_width = $image->[0]->Get('width');
 		$orig_height = $image->[0]->Get('height');
 		
-		if ($orig_width < $orig_height){ # if landscape
+		if ($orig_width > $orig_height){ # if landscape
 			$size = "${width}x";
 		}
 		else {


hooks/post-receive
-- 
Interchange wellwell catalog



More information about the wellwell-devel mailing list