terminate the cleaned filename with zero character, thanks to Jay for reporting this fix!
This commit is contained in:
1 parent
7453af5dde
commit
c4a83539ca
1 file changed
+1
@@ -912,6 +912,7 @@ char* fixFileName(const char* lpCmdLine)
|
||||
out++;
|
||||
}
|
||||
|
||||
cleaned_filename[i] = '\0';
|
||||
return cleaned_filename;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user