From 101e5fac53f46ee660238637e82d29e97889881e Mon Sep 17 00:00:00 2001 From: Robert Osfield Date: Thu, 15 Dec 2005 20:56:06 +0000 Subject: [PATCH] Added proper catch of Paul de Repentinguy name --- AUTHORS.txt | 4 +++- applications/osgversion/osgversion.cpp | 8 ++++++++ 2 files changed, 11 insertions(+), 1 deletion(-) diff --git a/AUTHORS.txt b/AUTHORS.txt index 7ccdb4bc4..be6812cbf 100644 --- a/AUTHORS.txt +++ b/AUTHORS.txt @@ -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 diff --git a/applications/osgversion/osgversion.cpp b/applications/osgversion/osgversion.cpp index fb56c7eca..0184883df 100644 --- a/applications/osgversion/osgversion.cpp +++ b/applications/osgversion/osgversion.cpp @@ -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";