summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmat2
1 files changed, 1 insertions, 1 deletions
diff --git a/mat b/mat
index 8d3b447..b65edb5 100755
--- a/mat
+++ b/mat
@@ -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'};
}
}