Set copyright holders displayed in notices separately from the package name
This helps avoid accidental removal of upstream copyright names
This commit is contained in:
@@ -834,3 +834,10 @@ int GetNumCores()
|
||||
#endif
|
||||
}
|
||||
|
||||
std::string CopyrightHolders()
|
||||
{
|
||||
std::string strCopyrightHolders = _(COPYRIGHT_HOLDERS);
|
||||
if (strCopyrightHolders.find("%s") == strCopyrightHolders.npos)
|
||||
return strCopyrightHolders;
|
||||
return strprintf(strCopyrightHolders, _(PACKAGE_NAME));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user