mirror of
https://github.com/loot/libloot.git
synced 2026-07-27 14:16:01 -07:00
Fixed minor version changes being incompatible.
If they are, it's because I've screwed up.
This commit is contained in:
+1
-1
@@ -201,7 +201,7 @@ LOOT_API void loot_cleanup() {
|
||||
// Returns whether this version of LOOT supports the API from the given
|
||||
// LOOT version. Abstracts LOOT API stability policy away from clients.
|
||||
LOOT_API bool loot_is_compatible(const unsigned int versionMajor, const unsigned int versionMinor, const unsigned int versionPatch) {
|
||||
return versionMajor == loot::g_version_major && versionMinor == loot::g_version_minor;
|
||||
return versionMajor == loot::g_version_major;
|
||||
}
|
||||
|
||||
// Returns the version string for this version of LOOT.
|
||||
|
||||
Reference in New Issue
Block a user