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:
@@ -912,6 +912,11 @@ bool wxFileName::Normalize(int flags,
|
|||||||
m_ext.MakeLower();
|
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 defined(__WIN32__)
|
||||||
if ( (flags & wxPATH_NORM_LONG) && (format == wxPATH_DOS) )
|
if ( (flags & wxPATH_NORM_LONG) && (format == wxPATH_DOS) )
|
||||||
{
|
{
|
||||||
@@ -919,9 +924,6 @@ bool wxFileName::Normalize(int flags,
|
|||||||
}
|
}
|
||||||
#endif // Win32
|
#endif // Win32
|
||||||
|
|
||||||
// we do have the path now
|
|
||||||
m_relative = FALSE;
|
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user