http://www.mediawiki.org/wiki/Special:Code/MediaWiki/100248

Revision: 100248
Author:   reedy
Date:     2011-10-19 18:11:05 +0000 (Wed, 19 Oct 2011)
Log Message:
-----------
Followup r98491

Return $min not 0 in findMax

Modified Paths:
--------------
    trunk/extensions/LilyPond/LilyPond.class.php

Modified: trunk/extensions/LilyPond/LilyPond.class.php
===================================================================
--- trunk/extensions/LilyPond/LilyPond.class.php        2011-10-19 17:57:17 UTC 
(rev 100247)
+++ trunk/extensions/LilyPond/LilyPond.class.php        2011-10-19 18:11:05 UTC 
(rev 100248)
@@ -276,7 +276,7 @@
                                }
                        }
                }
-               return 0;
+               return $min;
        }
 
        /**
@@ -296,4 +296,4 @@
                imagecopy( $dstImage, $srcImage, $borderWidth, $borderHeight, 
0, 0, $width, $height );
                imagepng( $dstImage, $dest );
        }
-}
\ No newline at end of file
+}


_______________________________________________
MediaWiki-CVS mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-cvs

Reply via email to