Change some misleading formatting

Don't put an unrelated compound statement directly below an 'if', which makes
it way too easy to mistake it as the body of the 'if'. No real changes.
This commit is contained in:
Paul Cornett
2020-01-26 09:34:18 -08:00
parent 0a2c05ae92
commit 0ec2c9d8f2

View File

@@ -946,7 +946,9 @@ extern "C" void wxPthreadCleanup(void *ptr)
void wxThreadInternal::Cleanup(wxThread *thread)
{
if (pthread_getspecific(gs_keySelf) == 0) return;
if (pthread_getspecific(gs_keySelf) == 0)
return;
{
wxCriticalSectionLocker lock(thread->m_critsect);
if ( thread->m_internal->GetState() == STATE_EXITED )