Skip to content

Commit

Permalink
Merge pull request CleverRaven#55390 from CalKerethi/no-pocket-hotkeys
Browse files Browse the repository at this point in the history
Fix pressing letter keys in pocket autopickup settings
  • Loading branch information
ZhilkinSerg authored Feb 15, 2022
2 parents c330b60 + 67b7f05 commit 686c866
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/item_contents.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1982,7 +1982,7 @@ void item_contents::favorite_settings_menu( const std::string &item_name )
return TERMY;
};
for( int i = 1; i <= num_container_pockets; i++ ) {
pocket_selector.addentry( string_format( "%d - %s", i, pocket_name[i - 1] ) );
pocket_selector.addentry( 0, true, '\0', string_format( "%d - %s", i, pocket_name[i - 1] ) );
}

pocket_selector.query();
Expand Down

0 comments on commit 686c866

Please sign in to comment.