Skip to content

Commit

Permalink
Fix another error
Browse files Browse the repository at this point in the history
  • Loading branch information
za3k committed Aug 4, 2022
1 parent 4fe30e3 commit 1df13c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/logkeys.cc
Original file line number Diff line number Diff line change
Expand Up @@ -311,7 +311,7 @@ void export_keymap_to_file()
char buffer[32];
int buflen = 0;
unsigned int index;
for (unsigned int i = 0; i < sizeof(char_or_func); ++i) {
for (unsigned int i = 0; i < sizeof(char_or_func)-1; ++i) {
buflen = 0;
if (is_char_key(i)) {
index = to_char_keys_index(i);
Expand Down

0 comments on commit 1df13c4

Please sign in to comment.