1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-25 01:57:47 +01:00
This commit is contained in:
FunkyFr3sh 2021-07-24 07:40:51 +02:00
parent 397f139151
commit af39a22e33

View File

@ -30,14 +30,7 @@ __fastcall TConfigForm::TConfigForm(TComponent* Owner)
void __fastcall TConfigForm::LanguageLblClick(TObject *Sender) void __fastcall TConfigForm::LanguageLblClick(TObject *Sender)
{ {
auto *ini = new TIniFile(".\\ddraw.ini"); auto *ini = new TIniFile(".\\ddraw.ini");
ini->WriteString("ddraw", "configlang", IsEnglish ? "auto" : "english");
if (IsEnglish) {
ini->WriteString("ddraw", "configlang", "auto");
}
else {
ini->WriteString("ddraw", "configlang", "english");
}
delete ini; delete ini;
ShellExecute( ShellExecute(