a micro bug (but which was enough to break regtest sample) corrected

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 1998-08-17 22:19:17 +00:00
parent af9e71a8b4
commit 72cb6ff3b3

View File

@ -210,7 +210,7 @@ wxRegKey::wxRegKey(const wxRegKey& keyParent, const wxString& strKey)
: m_strKey(keyParent.m_strKey)
{
// combine our name with parent's to get the full name
if ( !strKey.IsEmpty() && strKey[0] != REG_SEPARATOR )
if ( !m_strKey.IsEmpty() && strKey[0] != REG_SEPARATOR )
m_strKey += REG_SEPARATOR;
m_strKey += strKey;