diff options
author | Yorhel <git@yorhel.nl> | 2009-09-10 16:59:32 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2009-09-10 16:59:32 +0200 |
commit | f1e9e83cefad07904df9ca96af70ea788990a662 (patch) | |
tree | e357dfbaa2802b0ea8c1a790375a7b4fa74321ef /lib/VNDB/L10N.pm | |
parent | d4b446c70e78b78d7e0199bb5c535ec993adc05e (diff) |
L10N: Extracted VN lenghts
Diffstat (limited to 'lib/VNDB/L10N.pm')
-rw-r--r-- | lib/VNDB/L10N.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/VNDB/L10N.pm b/lib/VNDB/L10N.pm index d5da169f..326635ea 100644 --- a/lib/VNDB/L10N.pm +++ b/lib/VNDB/L10N.pm @@ -153,7 +153,7 @@ use warnings; # Arguments: index, @list. returns $list[index] sub index { shift; - return $_[shift]; + return $_[shift||0]; } # Shortcut for <a href="arg1">arg2</a> |