From bc437f9709a7a48865bae2a4aa40536bfc80ebbc Mon Sep 17 00:00:00 2001 From: Javier Date: Sun, 22 Nov 2026 19:02:35 +0100 Subject: vbsf: when resolving lfn, list only files starting with the same prefix as the short filename --- sftsr.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'sftsr.c') diff --git a/sftsr.c b/sftsr.c index 0e9915f..6db709e 100644 --- a/sftsr.c +++ b/sftsr.c @@ -1040,9 +1040,8 @@ static vboxerr find_next_from_vbox(unsigned openfile, char __far *path) } } else { drive = sdb->drive & DOS_SDB_DRIVE_MASK; - // For find next calls, it's not really important what we pass here, - // as long as it's not empty. - shflstring_strcpy(&shflstr.shflstr, " "); + // For find next calls, it's not really important what we pass here. + shflstring_clear(&shflstr.shflstr); } -- cgit v1.2.3