Fix dereferencing strings.

This commit is contained in:
2021-03-14 18:12:56 +00:00
parent 4b75cd3e71
commit b1f7226cfa
17 changed files with 110 additions and 110 deletions

View File

@@ -75,9 +75,9 @@ void DeleteFiles(const char* path)
for(pos = 0; pos < 64; pos++)
{
memset(&filename, 0, 9);
sprintf(&filename, "%X", pos);
rc = DosOpen(&filename,
memset(filename, 0, 9);
sprintf(filename, "%X", pos);
rc = DosOpen(filename,
&handle,
&actionTaken,
0,
@@ -88,6 +88,6 @@ void DeleteFiles(const char* path)
if(rc) break;
DosClose(handle);
__os2_delete(&filename);
__os2_delete(filename);
}
}