|
From: <cre...@us...> - 2007-02-23 18:16:57
|
Revision: 1617
http://svn.sourceforge.net/frontierkernel/?rev=1617&view=rev
Author: creecode
Date: 2007-02-23 10:16:53 -0800 (Fri, 23 Feb 2007)
Log Message:
-----------
in ccloadspecialfile function, initialize handlePath to empty handle
formatting tweaks
Modified Paths:
--------------
Frontier/branches/Frontier_Long_File_Paths/Common/source/cancoon.c
Modified: Frontier/branches/Frontier_Long_File_Paths/Common/source/cancoon.c
===================================================================
--- Frontier/branches/Frontier_Long_File_Paths/Common/source/cancoon.c 2007-02-19 01:30:23 UTC (rev 1616)
+++ Frontier/branches/Frontier_Long_File_Paths/Common/source/cancoon.c 2007-02-23 18:16:53 UTC (rev 1617)
@@ -1072,7 +1072,7 @@
#pragma unused (filetype)
//
- // 2007-01-16 creedon: support for long odb item names and file paths
+ // 2007-02-23 creedon: support for long odb item names and file paths
//
// 2006-06-23 creedon: replace fsname macro with getfsfile function;
//
@@ -1099,6 +1099,9 @@
}
}
+ if ( ! newemptyhandle ( &handlePath ) )
+ return ( false );
+
if ( ! filespectopath ( fspec, &handlePath ) ) {
bigstring bs;
@@ -1113,10 +1116,12 @@
texthandletostring ( handlePath, bspath );
+ disposehandle ( handlePath );
+
langdeparsestring (bspath, chclosecurlyquote); // add needed escape sequences
if (getsystemtablescript (idfinder2frontscript, bs)) { // frontier.findertofront=^0
-
+
#ifdef MACVERSION
if ((shellevent.what == kHighLevelEvent) && ((**landgetglobals ()).maceventsender == 'MACS'))
@@ -1125,13 +1130,13 @@
#endif
pbool = bsfalse;
-
+
parsedialogstring (bs, pbool, nil, nil, nil, bs);
langrunstringnoerror (bs, bs);
}
-
+
if (!getsystemtablescript (idfinder2clickscript, bs)) // frontier.finder2click ("^0")
return (false);
@@ -1309,6 +1314,7 @@
setcancoonglobals (origglobals); /*restore databasedata, etc.*/
return (false);
+
} /*ccnewrecord*/
@@ -1335,6 +1341,7 @@
*w = (**hinfo).macwindow;
return (true);
+
} /*ccnewfilewindow*/
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|