From d2ec4834d90e3903ea6dbe100ce64fbd09de217b Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Thu, 27 Jul 2023 08:30:08 -0400 Subject: [PATCH] Fix macOS impl of Valid3DConnexionDriverVersion --- libs/kiplatform/osx/drivers.mm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libs/kiplatform/osx/drivers.mm b/libs/kiplatform/osx/drivers.mm index f55972ee44..999777ab10 100644 --- a/libs/kiplatform/osx/drivers.mm +++ b/libs/kiplatform/osx/drivers.mm @@ -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 ); } \ No newline at end of file