From a109a1193ca3cf64a29265103075922d2dd9fc1b Mon Sep 17 00:00:00 2001 From: Javier Date: Tue, 12 Apr 2022 22:38:20 +0200 Subject: add file date/time listing support, closeall call --- mousmain.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mousmain.c') diff --git a/mousmain.c b/mousmain.c index 8692048..c6d2e96 100644 --- a/mousmain.c +++ b/mousmain.c @@ -274,8 +274,8 @@ static int configure_driver(LPTSRDATA data) static int move_driver_to_umb(LPTSRDATA __far * data) { - segment_t cur_seg = FP_SEG(data); - segment_t umb_seg = reallocate_to_umb(&cur_seg, get_resident_size() + DOS_PSP_SIZE); + segment_t cur_seg = FP_SEG(*data); + segment_t umb_seg = reallocate_to_umb(cur_seg, get_resident_size() + DOS_PSP_SIZE); if (umb_seg) { // Update the data pointer with the new segment -- cgit v1.2.3