From 2e603f605c362beb0d7683c18800571cccef7226 Mon Sep 17 00:00:00 2001 From: Basile Burg Date: Thu, 18 Aug 2016 21:11:24 +0200 Subject: [PATCH] fixup for e3e42ead05ea87b3813806602eba781e59302571 "compiler" setting from runnable options was not yet used. --- src/ce_main.pas | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/ce_main.pas b/src/ce_main.pas index 354f849c..387a86b9 100644 --- a/src/ce_main.pas +++ b/src/ce_main.pas @@ -2570,10 +2570,10 @@ begin dmdproc.OnReadData := @asyncprocOutput; dmdproc.OnTerminate:= @asyncprocTerminate; dmdproc.Options := [poUsePipes, poStderrToOutPut]; - case fRunnableCompiler of - dmd: dmdProc.Executable:='dmd' + exeExt; - ldc: dmdProc.Executable:='ldmd2' + exeExt; - gdc: dmdProc.Executable:='gdmd' + exeExt; + case fRunnablesOptions.compiler of + dmd: dmdProc.Executable :='dmd' + exeExt; + ldc: dmdProc.Executable :='ldmd2' + exeExt; + gdc: dmdProc.Executable :='gdmd' + exeExt; end; dmdproc.Parameters.Add(fDoc.fileName); if not asObj then