git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66898
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
*/
int wxMemStruct::AssertList ()
{
- if (wxDebugContext::GetHead () != 0 && ! (wxDebugContext::GetHead ())->AssertIt () ||
- wxDebugContext::GetTail () != 0 && ! wxDebugContext::GetTail ()->AssertIt ()) {
+ if ((wxDebugContext::GetHead() && !wxDebugContext::GetHead()->AssertIt()) ||
+ (wxDebugContext::GetTail() && !wxDebugContext::GetTail()->AssertIt()))
+ {
ErrorMsg ("Head or tail pointers trashed");
return 0;
}