Skip to content

Commit

Permalink
Fix code indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
shmuz committed Nov 21, 2023
1 parent 02fd17c commit 3ccb896
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions far/macro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3536,10 +3536,10 @@ void FarMacroApi::fargetconfigFunc() const
else if (const auto Opt = dynamic_cast<const Bool3Option*>(option))
{
auto Val = Opt->Get();
if (Val == 0 || Val == 1)
PassBoolean(Val == 1);
else
PassValue(L"other");
if (Val == 0 || Val == 1)
PassBoolean(Val == 1);
else
PassValue(L"other");

PassValue(L"3-state");
}
Expand All @@ -3553,11 +3553,11 @@ void FarMacroApi::fargetconfigFunc() const
PassValue(Opt->Get());
PassValue(L"string");
}
else
PassError(L"unknown option type");
else
PassError(L"unknown option type");
}
else
PassError(L"setting doesn't exist");
else
PassError(L"setting doesn't exist");
}
else
PassError(L"invalid argument #1");
Expand Down

0 comments on commit 3ccb896

Please sign in to comment.