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:
parent
7f523214e5
commit
863e83fa43
@ -685,7 +685,7 @@ bool wxRegKey::DeleteSelf()
|
||||
m_dwLastError = RegDeleteKey((HKEY) m_hRootKey, m_strKey);
|
||||
// deleting a key which doesn't exist is not considered an error
|
||||
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'"),
|
||||
GetName().c_str());
|
||||
return FALSE;
|
||||
|
Loading…
Reference in New Issue
Block a user