Fixed compile error

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24340 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-10-29 02:42:29 +00:00
parent 7f523214e5
commit 863e83fa43

View File

@@ -685,7 +685,7 @@ bool wxRegKey::DeleteSelf()
m_dwLastError = RegDeleteKey((HKEY) m_hRootKey, m_strKey); m_dwLastError = RegDeleteKey((HKEY) m_hRootKey, m_strKey);
// deleting a key which doesn't exist is not considered an error // deleting a key which doesn't exist is not considered an error
if ( m_dwLastError != ERROR_SUCCESS && if ( m_dwLastError != ERROR_SUCCESS &&
m_dwLastError !- ERROR_FILE_NOT_FOUND ) { m_dwLastError != ERROR_FILE_NOT_FOUND ) {
wxLogSysError(m_dwLastError, _("Can't delete key '%s'"), wxLogSysError(m_dwLastError, _("Can't delete key '%s'"),
GetName().c_str()); GetName().c_str());
return FALSE; return FALSE;