Author: rmottola
Date: Sun Jul  3 10:14:11 2016
New Revision: 39959

URL: http://svn.gna.org/viewcvs/gnustep?rev=39959&view=rev
Log:
minor code reformat and cleanup

Modified:
    apps/gworkspace/trunk/GWorkspace/GWorkspace.m

Modified: apps/gworkspace/trunk/GWorkspace/GWorkspace.m
URL: 
http://svn.gna.org/viewcvs/gnustep/apps/gworkspace/trunk/GWorkspace/GWorkspace.m?rev=39959&r1=39958&r2=39959&view=diff
==============================================================================
--- apps/gworkspace/trunk/GWorkspace/GWorkspace.m       (original)
+++ apps/gworkspace/trunk/GWorkspace/GWorkspace.m       Sun Jul  3 10:14:11 2016
@@ -1235,21 +1235,24 @@
 
       NS_DURING
         {
-      [ws getInfoForFile: apath application: &defApp type: &type];     
-
-      if (type != nil) {
-        if ((type == NSDirectoryFileType) || (type == NSFilesystemFileType)) {
-          if (newv) {    
-            [self newViewerAtPath: apath];    
-          }
-        } else if ((type == NSPlainFileType) 
-                            || ([type isEqual: NSShellCommandFileType])) {
-          [self openFile: apath];
-
-        } else if (type == NSApplicationFileType) {
-          [ws launchApplication: apath];
-        }
-      }
+         [ws getInfoForFile: apath application: &defApp type: &type];     
+
+         if (type != nil)
+           {
+             if ((type == NSDirectoryFileType) || (type == 
NSFilesystemFileType))
+               {
+                 if (newv)
+                   [self newViewerAtPath: apath];    
+               }
+             else if ((type == NSPlainFileType) || ([type isEqual: 
NSShellCommandFileType]))
+               {
+                 [self openFile: apath];
+               }
+             else if (type == NSApplicationFileType)
+               {
+                 [ws launchApplication: apath];
+               }
+           }
         }
       NS_HANDLER
         {
@@ -1310,7 +1313,7 @@
          urlString = [weblocDict objectForKey:@"URL"];
          aURL = [NSURL URLWithString: urlString];
         }
-    }  
+    }
   
   NS_DURING
     {


_______________________________________________
Gnustep-cvs mailing list
[email protected]
https://mail.gna.org/listinfo/gnustep-cvs

Reply via email to