From 111b1cbf68da872e0072f5d7848c205a4bf56cd0 Mon Sep 17 00:00:00 2001 From: Uwe Bonnes <bon@elektron.ikp.physik.tu-darmstadt.de> Date: Tue, 25 Nov 2003 03:26:14 +0000 Subject: [PATCH] INT21_GetFreeDiskSpace(): The drive parameter is found in the DL register. --- dlls/winedos/int21.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dlls/winedos/int21.c b/dlls/winedos/int21.c index 488bad8ad7c..e56d892f14f 100644 --- a/dlls/winedos/int21.c +++ b/dlls/winedos/int21.c @@ -3167,7 +3167,7 @@ static int INT21_GetFreeDiskSpace( CONTEXT86 *context ) DWORD cluster_sectors, sector_bytes, free_clusters, total_clusters; WCHAR root[] = {'A',':','\\',0}; - root[0] += INT21_MapDrive(BL_reg(context)); + root[0] += INT21_MapDrive(DL_reg(context)); if (!GetDiskFreeSpaceW( root, &cluster_sectors, §or_bytes, &free_clusters, &total_clusters )) return 0; SET_AX( context, cluster_sectors ); -- GitLab