diff options
-rwxr-xr-x | mat | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -463,7 +463,7 @@ sub cmd_searchrecipes { # while (my ($i, $recipe) = each @recipes) { next if not defined($recipe); if(grep(/$regex/i, $recipe->{'name'})) { - printf "%4d| %-50s\n", $i, $recipe->{'name'}; + printf "%4d| %-50s\n", $i-1, $recipe->{'name'}; } } |