@@ -148,13 +148,14 @@ #if defined(OF_IOS) || defined(OF_MACOS) # ifdef OF_HAVE_FILES void *pool = objc_autoreleasePoolPush(); @try { - OFDictionary *propertyList = [OFString stringWithContentsOfFile: - @"/System/Library/CoreServices/SystemVersion.plist"] - .objectByParsingPropertyList; + OFDictionary *propertyList = [[OFString + stringWithContentsOfFile: @"/System/Library/CoreServices/" + @"SystemVersion.plist"] + objectByParsingPropertyList]; operatingSystemVersion = [[propertyList objectForKey: @"ProductVersion"] copy]; } @finally { objc_autoreleasePoolPop(pool);