add additional check
This commit is contained in:
parent
a9164e8308
commit
ada4bc1b85
1 changed files with 3 additions and 1 deletions
|
@ -839,7 +839,9 @@ void __fastcall TConfigForm::FormCreate(TObject *Sender)
|
||||||
}
|
}
|
||||||
|
|
||||||
RestoreDefaultsBtn->Visible =
|
RestoreDefaultsBtn->Visible =
|
||||||
FileExists(".\\ddraw.dll") && GetBool(ini, "allow_reset", true);
|
FileExists(".\\ddraw.dll") &&
|
||||||
|
FileExists(".\\ddraw.ini") &&
|
||||||
|
GetBool(ini, "allow_reset", true);
|
||||||
|
|
||||||
delete ini;
|
delete ini;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue