dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2d41b8
)
fixing rounding problem, per comment at r82309
author
Ryan Kaldari
<kaldari@users.mediawiki.org>
Mon, 4 Jul 2011 21:05:27 +0000
(21:05 +0000)
committer
Ryan Kaldari
<kaldari@users.mediawiki.org>
Mon, 4 Jul 2011 21:05:27 +0000
(21:05 +0000)
includes/ImageGallery.php
patch
|
blob
|
history
diff --git
a/includes/ImageGallery.php
b/includes/ImageGallery.php
index
d377300
..
920ef05
100644
(file)
--- a/
includes/ImageGallery.php
+++ b/
includes/ImageGallery.php
@@
-284,7
+284,7
@@
class ImageGallery {
# We get layout problems with the margin, if the image is smaller
# than the line-height (17), so we add less margin in these cases.
$minThumbHeight = $thumb->height > 17 ? $thumb->height : 17;
- $vpad =
floor( ( self::THUMB_PADDING + $this->mHeights - $minThumbHeight ) /2 )
;
+ $vpad =
( self::THUMB_PADDING + $this->mHeights - $minThumbHeight ) /2
;
$imageParameters = array(
'desc-link' => true,