sirjuddington / SLADE

It's a Doom editor
https://slade.mancubus.net
GNU General Public License v2.0
686 stars 104 forks source link

set n_bw_chars to correct value, fixing weird behavior of Home and End key in the texture browser #1599

Closed thezerobit closed 7 months ago

thezerobit commented 7 months ago

The bw_chars array only has 30 elements, so n_bw_chars should be set to 30. This resolves part of https://github.com/sirjuddington/SLADE/issues/1511 . After this change, Home and End no longer insert "Ĺ" and "ĸ" into the filter text box. They do nothing now, which is an improvement. PageUp and PageDown and typing other characters for the filter still work fine.