Fix macOS impl of Valid3DConnexionDriverVersion

This commit is contained in:
Jon Evans 2023-07-27 08:30:08 -04:00
parent 148e111579
commit d2ec4834d9
1 changed files with 2 additions and 2 deletions

View File

@ -35,8 +35,8 @@ bool KIPLATFORM::DRIVERS::Valid3DConnexionDriverVersion()
NSDictionary *infoDictionary = [frameworkBundle infoDictionary];
NSString *version = infoDictionary[@"CFBundleShortVersionString"];
if (!version)
if( !version )
return false;
return compareVersions(version.UTF8String, MIN_MAC_VERSION ) >= 0;
return compareVersionStrings( version.UTF8String, MIN_MAC_VERSION );
}