cxgeorge 24 years ago
parent
commit
f587aaf020
1 changed files with 1 additions and 1 deletions
  1. 1 1
      dtool/src/dtoolutil/load_dso.cxx

+ 1 - 1
dtool/src/dtoolutil/load_dso.cxx

@@ -63,7 +63,7 @@ unload_dso(void *dso_handle) {
   HMODULE dll_handle = (HMODULE) dso_handle;
 
   // true indicates success
-  return FreeLibrary(dll_handle);
+  return (FreeLibrary(dll_handle)!=0);
 }
 
 string