|
From: <cre...@us...> - 2006-09-18 20:30:52
|
Revision: 1517
http://svn.sourceforge.net/frontierkernel/?rev=1517&view=rev
Author: creecode
Date: 2006-09-18 13:30:50 -0700 (Mon, 18 Sep 2006)
Log Message:
-----------
in windowgetfspec function, removed extend filespec function
Modified Paths:
--------------
Frontier/branches/FSRef_Migration/Common/source/shellwindow.c
Modified: Frontier/branches/FSRef_Migration/Common/source/shellwindow.c
===================================================================
--- Frontier/branches/FSRef_Migration/Common/source/shellwindow.c 2006-09-18 20:21:58 UTC (rev 1516)
+++ Frontier/branches/FSRef_Migration/Common/source/shellwindow.c 2006-09-18 20:30:50 UTC (rev 1517)
@@ -507,7 +507,7 @@
boolean windowgetfspec ( WindowPtr w, ptrfilespec fspec ) {
//
- // 2006-08-16 creedon: for Mac, FSRef-ized
+ // 2006-09-14 creedon: for Mac, FSRef-ized
//
// 1997-06-18 dmb: return boolean value indicating whether or not the fspec actually points to an existing file
//
@@ -526,8 +526,6 @@
if (!getfsvolume (fspec, &vnum)) // don't allow default vol to satisfy fileexists
return (false);
- ( void ) extendfilespec ( fspec, fspec );
-
return ( fileexists ( fspec, &flfolder ) );
} // windowgetfspec
@@ -1807,7 +1805,7 @@
} /*newshellwindow*/
-boolean newfilewindow (ptrfilespec fspec, hdlfilenum fnum, short rnum, boolean flhidden, WindowPtr *wnew) {
+boolean newfilewindow ( const ptrfilespec fspec, hdlfilenum fnum, short rnum, boolean flhidden, WindowPtr *wnew ) {
/*
create a new window to display the contents of a file.
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|