Codechange: Ensure function opening {
is on new line.
This commit is contained in:

committed by
Peter Nelson

parent
1de1af08b9
commit
d4008850e3
@@ -251,7 +251,8 @@ void OSOpenBrowser(const char *url)
|
||||
}
|
||||
#endif /* __APPLE__ */
|
||||
|
||||
void SetCurrentThreadName([[maybe_unused]] const char *threadName) {
|
||||
void SetCurrentThreadName([[maybe_unused]] const char *threadName)
|
||||
{
|
||||
#if defined(__GLIBC__)
|
||||
if (threadName) pthread_setname_np(pthread_self(), threadName);
|
||||
#endif /* defined(__GLIBC__) */
|
||||
|
@@ -38,7 +38,8 @@ struct EFCParam {
|
||||
MissingGlyphSearcher *callback;
|
||||
std::vector<std::wstring> fonts;
|
||||
|
||||
bool Add(const std::wstring_view &font) {
|
||||
bool Add(const std::wstring_view &font)
|
||||
{
|
||||
for (const auto &entry : this->fonts) {
|
||||
if (font.compare(entry) == 0) return false;
|
||||
}
|
||||
|
Reference in New Issue
Block a user