Skip to content

Commit

Permalink
Fix some recent code smells (#9395)
Browse files Browse the repository at this point in the history
  • Loading branch information
oleg-derevenetz authored Dec 31, 2024
1 parent 2c69952 commit 6d94347
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/fheroes2/gui/ui_keyboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -568,7 +568,7 @@ namespace
lastButtonRow.back().button.hide();

lastButtonRow.emplace_back( "-", getDefaultButtonWidth( fheroes2::SupportedLanguage::English ), isEvilInterface,
[]( KeyboardRenderer & ) { return DialogAction::DoNothing; } );
[]( const KeyboardRenderer & ) { return DialogAction::DoNothing; } );
lastButtonRow.back().button.hide();

lastButtonRow.emplace_back( "0", getDefaultButtonWidth( fheroes2::SupportedLanguage::English ), isEvilInterface, []( KeyboardRenderer & renderer ) {
Expand Down

0 comments on commit 6d94347

Please sign in to comment.