]> git.saurik.com Git - wxWidgets.git/commitdiff
Fixed the beggar good and proper
authorJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 21:45:36 +0000 (21:45 +0000)
committerJulian Smart <julian@anthemion.co.uk>
Mon, 9 Dec 2002 21:45:36 +0000 (21:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/filesys.cpp

index fa5355435dfb2fe64d1cb533a4d0d55fb59efad9..781dc5c909347397bbc6caee9e75c935517e3b6b 100644 (file)
@@ -459,8 +459,8 @@ wxString wxFileSystem::FileNameToURL(const wxFileName& filename)
     fn.Normalize(wxPATH_NORM_DOTS | wxPATH_NORM_TILDE | wxPATH_NORM_ABSOLUTE);
     wxString url = fn.GetFullPath(wxPATH_NATIVE);
 
-#ifdef __WXMSW__
-    // unc notation
+#ifndef __UNIX__
+    // unc notation, wxMSW
     if ( url.Find(wxT("\\\\")) == 0 ) 
     {
         url = url.Mid(2);