Fix SDL_TryLockMutex compile error when FAKE_RECURSIVE_MUTEX is defined
authorAndreas Schiffler
Sat, 09 Mar 2013 09:24:43 -0800
changeset 6985a0f905ecdda3
parent 6984 ae9c4b12f3e2
child 6986 bc887debed9b
Fix SDL_TryLockMutex compile error when FAKE_RECURSIVE_MUTEX is defined
src/thread/pthread/SDL_sysmutex.c
     1.1 --- a/src/thread/pthread/SDL_sysmutex.c	Fri Mar 08 23:33:07 2013 -0800
     1.2 +++ b/src/thread/pthread/SDL_sysmutex.c	Sat Mar 09 09:24:43 2013 -0800
     1.3 @@ -134,7 +134,7 @@
     1.4      retval = 0;
     1.5  #if FAKE_RECURSIVE_MUTEX
     1.6      this_thread = pthread_self();
     1.7 -    if (mutex->owner == this_thead) {
     1.8 +    if (mutex->owner == this_thread) {
     1.9          ++mutex->recursive;
    1.10      } else {
    1.11          /* The order of operations is important.