Skip to content

Commit

Permalink
Merge pull request #77867 from CleverRaven/fix-debug-menu
Browse files Browse the repository at this point in the history
Assorted debug menu fixes
  • Loading branch information
Maleclypse authored Nov 15, 2024
2 parents 17755a4 + cd8ed10 commit 7358f2f
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/debug_menu.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1069,7 +1069,6 @@ static std::optional<debug_menu_index> debug_menu_uilist( bool display_all_entri
// sense and can be auto–sized.
uilist debug = uilist();
debug.text = msg;
debug.desired_bounds = { -1.0, -1.0, 0.5, 0.5 };
debug.entries = menu;
debug.query();
const int group = debug.ret;
Expand Down Expand Up @@ -3224,7 +3223,6 @@ static void debug_menu_force_temperature()
int ret = pop.title( string_format( _( "Set temperature to? [%s]" ), unit ) )
.width( 20 )
.text( current ? std::to_string( *current ) : "" )
.only_digits( true )
.query_int();

return pop.canceled() ? current : std::optional<float>( static_cast<float>( ret ) );
Expand Down

0 comments on commit 7358f2f

Please sign in to comment.