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:
6626859
)
Followup r68325, with comment describing intent of code.
author
Derk-Jan Hartman
<hartman@users.mediawiki.org>
Sun, 9 Jan 2011 22:54:51 +0000
(22:54 +0000)
committer
Derk-Jan Hartman
<hartman@users.mediawiki.org>
Sun, 9 Jan 2011 22:54:51 +0000
(22:54 +0000)
includes/media/GIF.php
patch
|
blob
|
history
diff --git
a/includes/media/GIF.php
b/includes/media/GIF.php
index
b7c3f91
..
c4c8056
100644
(file)
--- a/
includes/media/GIF.php
+++ b/
includes/media/GIF.php
@@
-73,7
+73,8
@@
class GIFHandler extends BitmapHandler {
if (!$metadata || $metadata['frameCount'] <= 1)
return $original;
-
+
+ /* Preserve original image info string, but strip the last char ')' so we can add even more */
$info = array();
$info[] = substr( $original, 1, strlen( $original )-2 );