Skip to content

Commit 1df13c4

Browse files
committed
Fix another error
1 parent 4fe30e3 commit 1df13c4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/logkeys.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -311,7 +311,7 @@ void export_keymap_to_file()
311311
char buffer[32];
312312
int buflen = 0;
313313
unsigned int index;
314-
for (unsigned int i = 0; i < sizeof(char_or_func); ++i) {
314+
for (unsigned int i = 0; i < sizeof(char_or_func)-1; ++i) {
315315
buflen = 0;
316316
if (is_char_key(i)) {
317317
index = to_char_keys_index(i);

0 commit comments

Comments
 (0)