mirror of
https://github.com/reactos/RosBE.git
synced 2024-11-27 05:10:27 +00:00
[ROSBE/OPTIONS]
* Stop SEGV from trying to fclose(NULL). Brought to you by Mike Nordell aka tamlin. svn path=/trunk/RosBE/; revision=1586
This commit is contained in:
parent
b66de08a8d
commit
cda561969f
@ -314,7 +314,6 @@ WriteSettings(POPTIONS_DLG infoPtr)
|
||||
|
||||
if (!pFilecmd)
|
||||
{
|
||||
fclose(pFilecmd);
|
||||
fclose(pFileps1);
|
||||
LoadStringW(hInstance, MSG_CMDFFAILED, msgerror, 256);
|
||||
MessageBoxW(infoPtr->hwndDlg, msgerror, NULL, MB_ICONERROR);
|
||||
@ -323,7 +322,6 @@ WriteSettings(POPTIONS_DLG infoPtr)
|
||||
if (!pFileps1)
|
||||
{
|
||||
fclose(pFilecmd);
|
||||
fclose(pFileps1);
|
||||
LoadStringW(hInstance, MSG_PS1FFAILED, msgerror, 256);
|
||||
MessageBoxW(infoPtr->hwndDlg, msgerror, NULL, MB_ICONERROR);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user