Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merged revision(s) 20193 from trunk/OpenMPT:
[Fix] mpt/library/library.hpp: When loading a library on Windows, do not return std::optional{NULL} if loading failed, but return std::nullopt instead. Otherwise, the code later gets confused as it finds a HANDLE (which is NULL) and assumes the library was loaded successfully. Non-Windows platforms were not affected. Fixes <https://bugs.openmpt.org/view.php?id=1749>. ........ git-svn-id: https://source.openmpt.org/svn/openmpt/branches/OpenMPT-1.31@20194 56274372-70c3-4bfc-bfc3-4c3a0b034d27
- Loading branch information