--HG--
extra : convert_revision : svn%3Ac70aab31-4412-0410-b14c-859654838e24/trunk%403537
This commit is contained in:
Sam Lantinga 2009-02-17 05:57:54 +00:00
parent 90b4c6937f
commit a0978cdf4d
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;
}