]> git.saurik.com Git - wxWidgets.git/commitdiff
Last parameter of GetVolumeInformation() is not pointer.
authorWłodzimierz Skiba <abx@abx.art.pl>
Tue, 31 Jan 2006 00:54:26 +0000 (00:54 +0000)
committerWłodzimierz Skiba <abx@abx.art.pl>
Tue, 31 Jan 2006 00:54:26 +0000 (00:54 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/generic/dirctrlg.cpp

index 241acd6eb3c0162f169039c8a8bbad611a98cbf3..7ed847cb70d86c5a638d770acb64839dd958d909 100644 (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 );
         }