Index: trunk/phase3/includes/ImageGallery.php |
— | — | @@ -284,7 +284,7 @@ |
285 | 285 | # We get layout problems with the margin, if the image is smaller |
286 | 286 | # than the line-height (17), so we add less margin in these cases. |
287 | 287 | $minThumbHeight = $thumb->height > 17 ? $thumb->height : 17; |
288 | | - $vpad = floor( ( self::THUMB_PADDING + $this->mHeights - $minThumbHeight ) /2 ); |
| 288 | + $vpad = ( self::THUMB_PADDING + $this->mHeights - $minThumbHeight ) /2; |
289 | 289 | |
290 | 290 | $imageParameters = array( |
291 | 291 | 'desc-link' => true, |