From 747c291ae164bd57da2ec0fe5dcc0347883c94cc Mon Sep 17 00:00:00 2001 From: "alexey.lysiuk" Date: Sat, 7 Aug 2021 12:37:18 +0300 Subject: [PATCH] - fixed patch version in compatibility implementation of macOS detection --- src/common/platform/posix/cocoa/i_main.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/platform/posix/cocoa/i_main.mm b/src/common/platform/posix/cocoa/i_main.mm index a243bdbe5c..ea7040ee51 100644 --- a/src/common/platform/posix/cocoa/i_main.mm +++ b/src/common/platform/posix/cocoa/i_main.mm @@ -131,7 +131,7 @@ static bool ReadSystemVersionFromPlist(NSOperatingSystemVersion& version) if (const char *patchVersionString = strstr(minorVersionString, ".")) { patchVersionString++; - plistVersion.patchVersion = atoi(minorVersionString); + plistVersion.patchVersion = atoi(patchVersionString); } } }