fixed format parameter in wxGetVolumeString() (closes patch 541037)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@15034 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1527281edb
commit
6ce27aa2fd
@ -246,6 +246,8 @@ static wxString wxGetVolumeString(const wxString& volume, wxPathFormat format)
|
|||||||
|
|
||||||
if ( !volume.empty() )
|
if ( !volume.empty() )
|
||||||
{
|
{
|
||||||
|
format = wxFileName::GetFormat(format);
|
||||||
|
|
||||||
// Special Windows UNC paths hack, part 2: undo what we did in
|
// Special Windows UNC paths hack, part 2: undo what we did in
|
||||||
// SplitPath() and make an UNC path if we have a drive which is not a
|
// SplitPath() and make an UNC path if we have a drive which is not a
|
||||||
// single letter (hopefully the network shares can't be one letter only
|
// single letter (hopefully the network shares can't be one letter only
|
||||||
|
Loading…
Reference in New Issue
Block a user