Added proper catch of Paul de Repentinguy name
This commit is contained in:
parent
fcff441d5f
commit
101e5fac53
@ -1,6 +1,6 @@
|
||||
OpenSceneGraph Library 1.0
|
||||
|
||||
171 Contributors:
|
||||
172 Contributors:
|
||||
|
||||
Firstname Surname
|
||||
-----------------
|
||||
@ -118,6 +118,8 @@ Sebastien Kuntz
|
||||
Ronny Krueger
|
||||
Reinhard Sainitzer
|
||||
Qing Shen
|
||||
Paul de Repentinguy
|
||||
Paul Fredrikson
|
||||
Nikolov Trajce
|
||||
Nicolas Brodu
|
||||
Nathan Monteleone
|
||||
|
@ -25,6 +25,9 @@ NamePair NameDonBurns("Don","Burns");
|
||||
|
||||
bool validName(const std::string& first)
|
||||
{
|
||||
if (first=="de") return true;
|
||||
|
||||
|
||||
if (first.empty()) return false;
|
||||
if (first[0]<'A' || first[0]>'Z') return false;
|
||||
|
||||
@ -247,6 +250,11 @@ void nameCorrection(NamePair& name)
|
||||
name.first = "Chris";
|
||||
name.second = "Hanson";
|
||||
}
|
||||
if (name.first=="Paul" && name.second=="de")
|
||||
{
|
||||
name.first = "Paul";
|
||||
name.second = "de Repentinguy";
|
||||
}
|
||||
if (name.first=="Nick" && name.second=="")
|
||||
{
|
||||
name.first = "Trajce";
|
||||
|
Loading…
Reference in New Issue
Block a user