Return 1 if name matches not 0, also fix some spaces.

This commit is contained in:
nicm
2017-06-07 15:27:46 +00:00
parent 405cc337f3
commit 356fab7bcb
4 changed files with 5 additions and 5 deletions

View File

@ -595,7 +595,7 @@ mode_tree_search_for(struct mode_tree_data *mtd)
continue;
}
if (mtd->searchcb(mtd->modedata, mti->itemdata, mtd->ss))
return (mti);
return (mti);
}
return (NULL);
}