From 2a5d3f57380366d69fd368b568ed7306145fe61c Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 9 Dec 2002 21:45:36 +0000 Subject: [PATCH] Fixed the beggar good and proper git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filesys.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/common/filesys.cpp b/src/common/filesys.cpp index fa5355435d..781dc5c909 100644 --- a/src/common/filesys.cpp +++ b/src/common/filesys.cpp @@ -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);