Mercurial > minori
diff src/core/anime.cpp @ 36:2743011a6042
*: mass update
formatted all source files, converted ALL instances of setStyleSheet() to
palettes and fonts (stylesheets suck), and I changed the clang-format file because
it wasn't working on my laptop for some reason.
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Thu, 21 Sep 2023 15:17:47 -0400 |
parents | 4b198a111713 |
children | 6481c5aed3e1 |
line wrap: on
line diff
--- a/src/core/anime.cpp Thu Sep 21 11:43:24 2023 -0400 +++ b/src/core/anime.cpp Thu Sep 21 15:17:47 2023 -0400 @@ -148,8 +148,8 @@ std::vector<std::string> Anime::GetTitleSynonyms() const { std::vector<std::string> result; #define IN_VECTOR(v, k) (std::count(v.begin(), v.end(), k)) -#define ADD_TO_SYNONYMS(v, k) \ - if (!k.empty() && !IN_VECTOR(v, k) && k != GetUserPreferredTitle()) \ +#define ADD_TO_SYNONYMS(v, k) \ + if (!k.empty() && !IN_VECTOR(v, k) && k != GetUserPreferredTitle()) \ v.push_back(k) ADD_TO_SYNONYMS(result, info_.title.english); ADD_TO_SYNONYMS(result, info_.title.romaji);