Skip to content

Commit

Permalink
Fix Lua indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
Randalphwa committed Nov 28, 2024
1 parent 0a858cd commit e4f3ae3
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 1 deletion.
1 change: 0 additions & 1 deletion src/generate/gen_frame.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,6 @@ bool FrameFormGenerator::SettingsCode(Code& code)
{
code.ResetIndent();
code.ResetBraces();
code.Indent();
}
if (!code.node()->isPropValue(prop_variant, "normal"))
{
Expand Down
1 change: 1 addition & 0 deletions src/generate/gen_lua.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -170,6 +170,7 @@ void BaseCodeGenerator::GenerateLuaClass(PANEL_PAGE panel_type)
{
m_source->writeLine(code);
m_source->writeLine();
m_source->Indent();

#if 0
id_value = wxID_HIGHEST;
Expand Down

0 comments on commit e4f3ae3

Please # to comment.