From 8ad944dcbcb8c1aaa0b8b5ce653d5a7206ea7cb8 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Mon, 9 Dec 2002 15:42:10 +0000 Subject: [PATCH] Should only add // under MSW -- not on Unix, not on Mac. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@18159 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/filesys.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/filesys.cpp b/src/common/filesys.cpp index 5ed5a520d0..fa5355435d 100644 --- a/src/common/filesys.cpp +++ b/src/common/filesys.cpp @@ -431,7 +431,7 @@ wxFileName wxFileSystem::URLToFileName(const wxString& url) path = path.Mid(7); } -#ifndef __UNIX__ +#ifdef __WXMSW__ // file urls either start with a forward slash (local harddisk), // otherwise they have a servername/sharename notation, // which only exists on msw and corresponds to a unc