1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2024-12-28 18:18:52 +00:00

Minimal length of search string is now 1

This commit is contained in:
Shihan42 2023-02-22 11:21:04 +01:00
parent b83cf9a92e
commit 274afff5c3

View File

@ -89,7 +89,7 @@ namespace MWGui
void markOccurrence(size_t textPosition, size_t length);
size_t currentOccurrence = std::string::npos;
std::string currentSearchTerm = "";
const size_t minLengthOfSearchTerm = 3;
const size_t minLengthOfSearchTerm = 1;
std::string complete(std::string input, std::vector<std::string>& matches);