From b4b625a8ed10b20db6cbfa6f798eb58ecfc62170 Mon Sep 17 00:00:00 2001 From: Oliver Hamlet Date: Sat, 11 Oct 2014 14:27:24 +0100 Subject: [PATCH] Fixed minor version changes being incompatible. If they are, it's because I've screwed up. --- src/api/api.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/api/api.cpp b/src/api/api.cpp index 070edfb9..228e5884 100644 --- a/src/api/api.cpp +++ b/src/api/api.cpp @@ -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.