medfall

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 53aba482ca5d34f6c2dc100ef7b5f90d089390d5
parent 06fa4940ba9dbac1096539059621ad2dc978f4b5
Author: Michael Savage <mikejsavage@gmail.com>
Date:   Mon Jan 23 23:19:58 +0200

Error checking in library_close on Windows

Diffstat:
win32_library.h | 6+++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/win32_library.h b/win32_library.h @@ -30,7 +30,7 @@ const char * library_last_error() { } void library_close( Library lib ) { - // return FreeLibrary( lib ) == 0; - // TODO: check for errors - FreeLibrary( lib ); + if( FreeLibrary( lib ) == 0 ) { + FATAL( "FreeLibrary" ); + } }