diff --git a/src/ncmpcpp.cpp b/src/ncmpcpp.cpp index 59d244bb..752bf7ce 100644 --- a/src/ncmpcpp.cpp +++ b/src/ncmpcpp.cpp @@ -1152,6 +1152,7 @@ int main(int argc, char *argv[]) { bool bold = 0; int found = mSearcher->Size()-search_engine_static_options; + found += 3; // don't count options inserted below mSearcher->InsertSeparator(14); mSearcher->Insert(15, std::pair("[." + Config.color1 + "]Search results:[/" + Config.color1 + "] [." + Config.color2 + "]Found " + IntoStr(found) + (found > 1 ? " songs" : " song") + "[/" + Config.color2 + "]", Song()), 1, 1); mSearcher->InsertSeparator(16);