Commit 0380989f authored by rswindell's avatar rswindell
Browse files

The Win32 list long filename feature didn't work correctly with filenames with

a less than 8 char base name.
parent 8ae4faae
......@@ -442,7 +442,7 @@ bool sbbs_t::listfile(char *fname, char HUGE16 *buf, uint dirnum
if(exist && !(cfg.file_misc&FM_NO_LFN)) {
fexistcase(path); /* Get real (long?) filename */
ptr=getfname(path);
if(stricmp(ptr,fname) && stricmp(ptr,str))
if(stricmp(ptr,tmp) && stricmp(ptr,str))
bprintf("%.*s\r\n%21s",LEN_FDESC,ptr,"");
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment