Last parameter of GetVolumeInformation() is not pointer.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Włodzimierz Skiba
2006-01-31 00:54:26 +00:00
parent 84dc821c24
commit 588be5ae1c

View File

@@ -119,7 +119,7 @@ size_t wxGetAvailableDrives(wxArrayString &paths, wxArrayString &names, wxArrayI
#if !defined(__WXWINCE__)
wxChar pname[52];
if (GetVolumeInformation( path.c_str(), pname, 52, NULL, NULL, NULL, NULL, NULL ))
if (GetVolumeInformation( path.c_str(), pname, 52, NULL, NULL, NULL, NULL, 0 ))
{
name.Printf(wxT("%s %s"), (const wxChar*) name, pname );
}