- fixed patch version in compatibility implementation of macOS detection

This commit is contained in:
alexey.lysiuk 2021-08-07 12:37:18 +03:00
parent a21c388dd6
commit 747c291ae1

View file

@ -131,7 +131,7 @@ static bool ReadSystemVersionFromPlist(NSOperatingSystemVersion& version)
if (const char *patchVersionString = strstr(minorVersionString, "."))
{
patchVersionString++;
plistVersion.patchVersion = atoi(minorVersionString);
plistVersion.patchVersion = atoi(patchVersionString);
}
}
}