Fixed minor version changes being incompatible.

If they are, it's because I've screwed up.
This commit is contained in:
Oliver Hamlet
2014-11-01 12:39:11 +00:00
parent 89a4389e58
commit b4b625a8ed
+1 -1
View File
@@ -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.