improve error message

master
Joey Hess 2009-07-19 13:36:46 +02:00
parent b62dc0a3d8
commit b23ddf6c4a
1 changed files with 1 additions and 1 deletions

View File

@ -66,7 +66,7 @@ sub preprocess (@) {
if ($params{size} ne 'full') {
my ($w, $h) = ($params{size} =~ /^(\d*)x(\d*)$/);
error sprintf(gettext('bad size "%s"'), $params{size})
error sprintf(gettext('wrong size format "%s" (should be WxH)'), $params{size})
unless (defined $w && defined $h &&
(length $w || length $h));