terminate the cleaned filename with zero character, thanks to Jay for reporting this fix!

This commit is contained in:
ejcoumans
2007-02-13 16:12:20 +00:00
parent 7453af5dde
commit c4a83539ca

View File

@@ -912,6 +912,7 @@ char* fixFileName(const char* lpCmdLine)
out++;
}
cleaned_filename[i] = '\0';
return cleaned_filename;
}