]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/os2/tls.h
avoiding crashes on osx during app shutdown
[wxWidgets.git] / include / wx / os2 / tls.h
index adbfadc4091c582428e6c50ca61d0df5670f1ae9..a70d6aa7dfe18724cd42c640a7a4bcfd18126e5c 100644 (file)
@@ -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