fixedb ug with normalization of UNC paths (patch 558701)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15654 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin 2002-05-23 22:01:36 +00:00
parent 76c79ff467
commit e83ecba968

View File

@ -912,6 +912,11 @@ bool wxFileName::Normalize(int flags,
m_ext.MakeLower();
}
// we do have the path now
//
// NB: need to do this before (maybe) calling Assign() below
m_relative = FALSE;
#if defined(__WIN32__)
if ( (flags & wxPATH_NORM_LONG) && (format == wxPATH_DOS) )
{
@ -919,9 +924,6 @@ bool wxFileName::Normalize(int flags,
}
#endif // Win32
// we do have the path now
m_relative = FALSE;
return TRUE;
}