Fix warning: access the right record field

This commit is contained in:
Tuncer Ayaz 2010-10-01 13:41:55 +02:00
parent 1712425588
commit 778d4350b3

View file

@ -253,7 +253,7 @@ compile_xrl_yrl(Source, Target, Config, Opts, Mod) ->
{ok, _, []} -> {ok, _, []} ->
ok; ok;
{ok, _, _Warnings} -> {ok, _, _Warnings} ->
case lists:member(fail_on_warnings, Config) of case lists:member(fail_on_warnings, Config#config.opts) of
true -> true ->
?FAIL; ?FAIL;
false -> false ->