Fix stupid bug in '*'

This commit is contained in:
Maxime Coste 2015-07-01 13:33:20 +01:00
parent 58d115ec88
commit ee6fc92ae2

View File

@ -683,11 +683,12 @@ void use_selection_as_search_pattern(Context& context, NormalParams)
content = content + "\\b"; content = content + "\\b";
} }
patterns.push_back(std::move(content)); patterns.push_back(std::move(content));
}
context.print_status({ context.print_status({
format("search pattern set to '{}'", patterns[sels.main_index()]), format("search pattern set to '{}'", patterns[sels.main_index()]),
get_face("Information") }); get_face("Information") });
}
RegisterManager::instance()['/'] = patterns; RegisterManager::instance()['/'] = patterns;
// Hack, as Window do not take register state into account // Hack, as Window do not take register state into account