- if (wxDebugContext::GetHead () != 0 && ! (wxDebugContext::GetHead ())->AssertIt () ||
- wxDebugContext::GetTail () != 0 && ! wxDebugContext::GetTail ()->AssertIt ()) {
+ if ((wxDebugContext::GetHead() && !wxDebugContext::GetHead()->AssertIt()) ||
+ (wxDebugContext::GetTail() && !wxDebugContext::GetTail()->AssertIt()))
+ {
// keep 3 bytes for a \r\n\0
count = wxVsnprintf(buf, WXSIZEOF(buf)-3, szFormat, argptr);
if ( count < 0 )
count = WXSIZEOF(buf)-3;
// keep 3 bytes for a \r\n\0
count = wxVsnprintf(buf, WXSIZEOF(buf)-3, szFormat, argptr);
if ( count < 0 )
count = WXSIZEOF(buf)-3;