Minor changes

This commit is contained in:
2022-10-15 09:24:19 -05:00
parent d4687c5b78
commit a12faeb9e3

View File

@@ -290,6 +290,7 @@ int main(int argc,char** argv) {
if (i == highlighted) { if (i == highlighted) {
wattron(mainwin,A_REVERSE); wattron(mainwin,A_REVERSE);
} }
memset(tempDir,0,strlen(tempDir));
strcpy(tempDir,dir); strcpy(tempDir,dir);
strcat(tempDir, (char *)(*(fileList+i))); strcat(tempDir, (char *)(*(fileList+i)));