This commit is contained in:
Sam Lantinga
2009-02-17 05:57:54 +00:00
parent 17a7c7045f
commit 34ec22eedd
2 changed files with 28 additions and 27 deletions

View File

@@ -164,7 +164,7 @@ SDL_SemPost(SDL_sem * sem)
#else
if (ReleaseSemaphore(sem->id, 1, NULL) == FALSE) {
#endif
InterlockedDecrement(&sem->count); /* restore */
InterlockedDecrement(&sem->count); /* restore */
SDL_SetError("ReleaseSemaphore() failed");
return -1;
}