]> git.saurik.com Git - wxWidgets.git/commitdiff
a micro bug (but which was enough to break regtest sample) corrected
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Aug 1998 22:19:17 +0000 (22:19 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 17 Aug 1998 22:19:17 +0000 (22:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@581 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/msw/registry.cpp

index 1fcc78c55f926aa263b3b8a403cfd0164cf72e73..0653504aea7b859ea166a3fe808d680003a74027 100644 (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;