Revision: 13744
          http://sourceforge.net/p/skim-app/code/13744
Author:   hofman
Date:     2023-11-12 10:38:10 +0000 (Sun, 12 Nov 2023)
Log Message:
-----------
default variable to YES

Modified Paths:
--------------
    trunk/SKConversionProgressController.m

Modified: trunk/SKConversionProgressController.m
===================================================================
--- trunk/SKConversionProgressController.m      2023-11-12 09:14:20 UTC (rev 
13743)
+++ trunk/SKConversionProgressController.m      2023-11-12 10:38:10 UTC (rev 
13744)
@@ -273,11 +273,10 @@
     fileType = [aFileType retain];
     cancelled = NO;
     
-    NSWorkspace *ws = [NSWorkspace sharedWorkspace];
     CGDataProviderRef provider = NULL;
-    BOOL useTask = [ws type:fileType conformsToType:SKPostScriptDocumentType] 
== NO;
-    if (@available(macOS 14.0, *))
-        useTask = YES;
+    BOOL useTask = YES;
+    if (@available(macOS 14.0, *)) {} else if ([[NSWorkspace sharedWorkspace] 
type:fileType conformsToType:SKPostScriptDocumentType])
+        useTask = NO;
     
     if (useTask) {
         

This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.



_______________________________________________
Skim-app-commit mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/skim-app-commit

Reply via email to