Skip to content

Commit c917fc2

Browse files
committed
Fixed Bug In SetOption.
This was causing an infinite loop.
1 parent be0c09e commit c917fc2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/devCFG.pas

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1563,7 +1563,7 @@ procedure TdevCompilerSet.SetOption(const Option: String; Value: Integer);
15631563
OptionIndex: integer;
15641564
begin
15651565
if FindOption(Option, OptionStruct, OptionIndex) then
1566-
SetOption(Option, Value);
1566+
SetOption(OptionStruct, Value);
15671567
end;
15681568

15691569
procedure TdevCompilerSet.SetOption(Option: PCompilerOption; Value: Integer);

0 commit comments

Comments
 (0)