commit | 6deeedbf66fd272b647ae45cb1333826a6d2c217 | [log] [tgz] |
---|---|---|
author | Peter Schlaile <udbz@rz.uni-karlsruhe.de> | Thu Nov 04 01:39:59 1999 +0000 |
committer | Alexandre Julliard <julliard@winehq.org> | Thu Nov 04 01:39:59 1999 +0000 |
tree | 4c8ba26e919ce392958e0899ff4364f5c7ef7e42 | |
parent | c0bcf26d05abad0e501b46b42176b2c565569a80 [diff] [blame] |
Fixed a long standing (and annoying) typo, that prevented GetDiskFreeSpaceA from working...
diff --git a/files/drive.c b/files/drive.c index 3e969a5..ef12bb9 100644 --- a/files/drive.c +++ b/files/drive.c
@@ -755,7 +755,7 @@ LPCSTR path; DWORD cluster_sec; - if ((!root) || (root == "\\")) + if ((!root) || (strcmp(root,"\\") == 0)) drive = DRIVE_GetCurrentDrive(); else if ( (strlen(root) >= 2) && (root[1] == ':')) /* root contains drive tag */