]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/morefile/FullPath.cpp
For all platforms except WXMAC, the wxGIFDecoder::dgif function was
[wxWidgets.git] / src / mac / morefile / FullPath.cpp
index 3ad50b412d90decfd62e68a662a2cb72a7173ec0..7e54d6c5fa00da063071d9e3a559fe770da367b8 100644 (file)
@@ -28,8 +28,8 @@
 
 #define        __COMPILINGMOREFILES
 
-#include "FSpCompa.h"
-#include "FullPath.h"
+#include "fspcompa.h"
+#include "fullpath.h"
 
 /*
        IMPORTANT NOTE:
@@ -180,7 +180,11 @@ pascal     OSErr   FSpGetFullPath(const FSSpec *spec,
        if ( result == noErr )
        {
                /* Return the length */
+#if TARGET_CARBON
+               *fullPathLength = GetHandleSize(*fullPath);
+#else
                *fullPathLength = InlineGetHandleSize(*fullPath);
+#endif
                result = realResult;    // return realResult in case it was fnfErr
        }
        else