Revert "Conf: Fix bug (last keybind)"
This reverts commit a164eb8f7cd94cae73a6c80a80376db9324caefc.
This commit is contained in:
parent
a164eb8f7c
commit
55fa590785
@ -552,10 +552,10 @@ conf_keybind_section(char *src)
|
||||
|
||||
cfg_set_sauv(src);
|
||||
|
||||
conf.nkeybind = get_size_sec(src, "key") + 1;
|
||||
keys = emalloc(conf.nkeybind + 1, sizeof(Key));
|
||||
conf.nkeybind = get_size_sec(src, "key");
|
||||
keys = emalloc(conf.nkeybind, sizeof(Key));
|
||||
|
||||
for(i = 0; i < conf.nkeybind + 1; ++i)
|
||||
for(i = 0; i < conf.nkeybind; ++i)
|
||||
{
|
||||
tmp = get_nsec(src, "key", i);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user