projects
/
ikiwiki.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
dccd764
)
avoid ugly warning if size="" is specified
author
Joey Hess
<joey@kitenet.net>
Sun, 13 Jun 2010 02:59:46 +0000
(22:59 -0400)
committer
Joey Hess
<joey@kitenet.net>
Sun, 13 Jun 2010 02:59:46 +0000
(22:59 -0400)
IkiWiki/Plugin/img.pm
patch
|
blob
|
history
diff --git
a/IkiWiki/Plugin/img.pm
b/IkiWiki/Plugin/img.pm
index a69175ba69bd78e5678f32bd1183d65e639b1c9d..eb1b6812482dab4065f40dbe6b8a4ebc96726a49 100644
(file)
--- a/
IkiWiki/Plugin/img.pm
+++ b/
IkiWiki/Plugin/img.pm
@@
-39,7
+39,7
@@
sub preprocess (@) {
}
}
- if (! exists $params{size}) {
+ if (! exists $params{size}
|| ! length $params{size}
) {
$params{size}='full';
}