mirror of
https://github.com/geode-sdk/geode.git
synced 2024-11-23 07:57:51 -05:00
minor formatting changes
This commit is contained in:
parent
80b5b20efb
commit
bc840ecb98
1 changed files with 3 additions and 5 deletions
|
@ -60,7 +60,8 @@ static std::optional<int> queryMatchKeywords(
|
|||
if (!someMatched) {
|
||||
return std::nullopt;
|
||||
}
|
||||
} else {
|
||||
}
|
||||
else {
|
||||
// this is like the dumbest way you could possibly sort alphabetically
|
||||
// but it does enough to make the mods list somewhat alphabetically
|
||||
// sorted, at least enough so that if you're scrolling it based on
|
||||
|
@ -120,10 +121,7 @@ static std::optional<int> queryMatch(ModListQuery const& query, IndexItemHandle
|
|||
|
||||
static std::optional<int> queryMatch(ModListQuery const& query, InvalidGeodeFile const& info) {
|
||||
// if any explicit filters were provided, no match
|
||||
if (
|
||||
query.tags.size() ||
|
||||
query.keywords.has_value()
|
||||
) {
|
||||
if (query.tags.size() || query.keywords.has_value()) {
|
||||
return std::nullopt;
|
||||
}
|
||||
return 0;
|
||||
|
|
Loading…
Reference in a new issue