don't crash in LibraryLocal if the file cannot be found
git-svn-id: https://svn.code.sf.net/p/nsis/code/NSIS/trunk@6337 212acab6-be3b-0410-9dea-997c60f758d6
This commit is contained in:
parent
30d337eac1
commit
c9a132db3e
1 changed files with 2 additions and 1 deletions
|
@ -106,7 +106,8 @@ int _tmain(int argc, TCHAR* argv[])
|
|||
|
||||
FILE*fIn = FOPEN(filename.c_str(), ("rb"));
|
||||
filefound = !!fIn;
|
||||
fclose(fIn);
|
||||
if (fIn)
|
||||
fclose(fIn);
|
||||
|
||||
// Work
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue