1
0
Fork 0
mirror of git://git.code.sf.net/p/cdesktopenv/code synced 2025-02-15 04:32:24 +00:00

libDtHelp: 88550

This commit is contained in:
Peter Howkins 2018-07-04 01:38:14 +01:00
parent a7e09ae1c3
commit 1fb5110337

View file

@ -237,8 +237,7 @@ static int ScanDirForFiles(
if (pDir == NULL) return 0; /* RETURN */
/* build the pathname */
strcpy (fullName, dirpath);
strcat (fullName, DirSlashStr);
snprintf(fullName, sizeof(fullName), "%s%s", dirpath, DirSlashStr);
ptr = fullName + strlen (fullName);
/*