diff --git a/src/thread/pthread/SDL_sysmutex.c b/src/thread/pthread/SDL_sysmutex.c index f67cdf6c4..faf178771 100644 --- a/src/thread/pthread/SDL_sysmutex.c +++ b/src/thread/pthread/SDL_sysmutex.c @@ -134,7 +134,7 @@ SDL_TryLockMutex(SDL_mutex * mutex) retval = 0; #if FAKE_RECURSIVE_MUTEX this_thread = pthread_self(); - if (mutex->owner == this_thead) { + if (mutex->owner == this_thread) { ++mutex->recursive; } else { /* The order of operations is important.