|
From: <cre...@us...> - 2007-06-12 08:22:17
|
Revision: 1668
http://svn.sourceforge.net/frontierkernel/?rev=1668&view=rev
Author: creecode
Date: 2007-06-12 01:22:18 -0700 (Tue, 12 Jun 2007)
Log Message:
-----------
minor formatting tweaks
Modified Paths:
--------------
Frontier/trunk/Common/source/fileverbs.c
Modified: Frontier/trunk/Common/source/fileverbs.c
===================================================================
--- Frontier/trunk/Common/source/fileverbs.c 2007-06-05 00:49:31 UTC (rev 1667)
+++ Frontier/trunk/Common/source/fileverbs.c 2007-06-12 08:22:18 UTC (rev 1668)
@@ -2035,21 +2035,22 @@
#endif
-static boolean findapplicationverb (hdltreenode hparam1, tyvaluerecord *v) {
-
+static boolean findapplicationverb ( hdltreenode hparam1, tyvaluerecord *v ) {
+
OSType creator;
tyfilespec fsapp;
flnextparamislast = true;
- if (!getostypevalue (hparam1, 1, &creator))
- return (false);
+ if ( ! getostypevalue ( hparam1, 1, &creator ) )
+ return ( false );
+
+ if ( ! findapplication ( creator, &fsapp ) )
+ clearbytes ( &fsapp, sizeof ( fsapp ) );
+
+ return ( setfilespecvalue ( &fsapp, v ) );
- if (!findapplication (creator, &fsapp))
- clearbytes (&fsapp, sizeof (fsapp));
-
- return (setfilespecvalue (&fsapp, v));
- } /*findapplicationverb*/
+ } // findapplicationverb
#ifdef WIN95VERSION
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|