diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2016-09-27 08:47:26 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2016-09-27 08:56:12 +0200 |
commit | 77d5b10ee0d6fc9f000d9ebf523995a7ae7d98bf (patch) | |
tree | c12d61d85f44ed830a81c9d42dbebe67bfa5156e /src/ui-todo.c | |
parent | 55afda8a7387ae670ead4cc07a250ac969723aa1 (diff) | |
download | calcurse-77d5b10ee0d6fc9f000d9ebf523995a7ae7d98bf.tar.gz calcurse-77d5b10ee0d6fc9f000d9ebf523995a7ae7d98bf.zip |
Fix key binding pagination
Do not create an empty key bindings page if the number of bindings is a
multiple of the number of slots per page.
Also, add comments to explain the computation.
Reported-by: Kevin Wang <kevin.wang2004@hotmail.com>
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/ui-todo.c')
0 files changed, 0 insertions, 0 deletions