]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/volume.cpp
Modified wxGetHomeDir to take environment variable HOME into account.
[wxWidgets.git] / src / msw / volume.cpp
index 2b4f3291382f53c2fedb445bf79f1b2beb4f156c..d82a59aed5cfca670f2be41736ba34aa1f310a5b 100644 (file)
@@ -404,7 +404,7 @@ wxArrayString wxFSVolumeBase::GetVolumes(int flagsSet, int flagsUnset)
     TCHAR* buf = new TCHAR[chars+1];
 
     // Get the list of drives.
-    chars = GetLogicalDriveStrings(chars, buf);
+    GetLogicalDriveStrings(chars, buf);
 
     // Parse the list into an array, applying appropriate filters.
     TCHAR *pVol;