# HG changeset patch # User Chris Cannam # Date 1266517327 0 # Node ID dc55b0940f15fc608dc4600f1749bb8dadb135ac # Parent 98047b91b09d0f7ffef7aabad7c9a8a0e82b6101 ... diff -r 98047b91b09d -r dc55b0940f15 common/Objects.cpp --- a/common/Objects.cpp Thu Feb 18 18:16:43 2010 +0000 +++ b/common/Objects.cpp Thu Feb 18 18:22:07 2010 +0000 @@ -96,7 +96,7 @@ if (s[0].isUpper()) { m_surnameElements.push_back(s.toLower()); m_reducedSurnameElements.push_back(reduceName(s)); - } else { + } else if (s.length() > 1) { m_connectiveElements.push_back(s.toLower()); } } @@ -105,7 +105,7 @@ if (s[0].isUpper()) { m_forenameElements.push_back(s.toLower()); m_reducedForenameElements.push_back(reduceName(s)); - } else { + } else if (s.length() > 1) { m_connectiveElements.push_back(s.toLower()); } }