Skip to content

Commit

Permalink
Initialise goto_offset_base setting (fixes #194).
Browse files Browse the repository at this point in the history
  • Loading branch information
solemnwarning committed Dec 5, 2022
1 parent 6c66d09 commit ad3c318
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/AppSettings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,8 @@
wxDEFINE_EVENT(REHex::PREFERRED_ASM_SYNTAX_CHANGED, wxCommandEvent);

REHex::AppSettings::AppSettings():
preferred_asm_syntax(AsmSyntax::INTEL) {}
preferred_asm_syntax(AsmSyntax::INTEL),
goto_offset_base(GotoOffsetBase::AUTO) {}

REHex::AppSettings::AppSettings(wxConfig *config): AppSettings()
{
Expand Down

0 comments on commit ad3c318

Please sign in to comment.