X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f35f85a99ceec7ec92b68c84c843b226793107e1..0ca422ef4c7cfffd54d4b53d950362d00ae7b5d9:/include/wx/os2/tls.h diff --git a/include/wx/os2/tls.h b/include/wx/os2/tls.h index adbfadc409..a70d6aa7df 100644 --- a/include/wx/os2/tls.h +++ b/include/wx/os2/tls.h @@ -24,8 +24,8 @@ public: wxTlsKey() { APIRET rc = ::DosAllocThreadLocalMemory(1, &m_slot); - if (rc != NO_ERROR) - m_slot = NULL; + if (rc != NO_ERROR) + m_slot = NULL; } // return true if the key was successfully allocated @@ -41,7 +41,7 @@ public: bool Set(void *value) { m_slot = (ULONG*)value; - return true; + return true; } // free the key