1
0
mirror of https://github.com/FunkyFr3sh/cnc-ddraw.git synced 2025-03-15 06:04:49 +01:00
This commit is contained in:
FunkyFr3sh 2023-08-05 05:20:11 +02:00
parent 62688e93d4
commit da6e2068bc

View File

@ -886,7 +886,7 @@ void TConfigForm::SaveSettings()
void __fastcall TConfigForm::FormActivate(TObject *Sender)
{
/* Detect wine (Linux/macOS) and create the needed dll override */
if (!GetProcAddress(GetModuleHandleW(L"ntdll.dll"), "wine_get_version"))
if (!GetProcAddress(GetModuleHandleW(L"ntdll.dll"), "wine_get_version"))
return;
TRegistry* reg = new TRegistry(KEY_READ);