Fixed a warning in the add memcheck from Watch window

This commit is contained in:
skidau 2014-10-31 11:26:17 +11:00
parent de6dd847e7
commit dbddc5f8e2
1 changed files with 1 additions and 1 deletions

View File

@ -286,7 +286,7 @@ void CWatchView::OnPopupMenu(wxCommandEvent& event)
case IDM_ADDMEMCHECK:
MemCheck.StartAddress = m_selectedAddress;
MemCheck.EndAddress = m_selectedAddress;
MemCheck.bRange = m_selectedAddress != m_selectedAddress;
MemCheck.bRange = false;
MemCheck.OnRead = true;
MemCheck.OnWrite = true;
MemCheck.Log = true;