aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.c
diff options
context:
space:
mode:
authorLars Henriksen <LarsHenriksen@get2net.dk>2020-01-10 20:39:19 +0100
committerLukas Fleischer <lfleischer@calcurse.org>2020-01-13 20:45:25 +0100
commit12863ff7c05e4abe601890157b222eaee9737ad5 (patch)
treea1ee93b8cfc8d37b540bdb563f43327b26ae6dfb /src/utils.c
parent002cf305a59d311d1dc3806009ecae90a5d9be38 (diff)
downloadcalcurse-12863ff7c05e4abe601890157b222eaee9737ad5.tar.gz
calcurse-12863ff7c05e4abe601890157b222eaee9737ad5.zip
Refactor cut and paste registers
Register REG_BLACK_HOLE can neither be copied into nor pasted from and has been removed from the input routine. Register 36 was not used. Signed-off-by: Lars Henriksen <LarsHenriksen@get2net.dk> Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/utils.c')
-rw-r--r--src/utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils.c b/src/utils.c
index a9a9e68..f467efd 100644
--- a/src/utils.c
+++ b/src/utils.c
@@ -112,7 +112,7 @@ void free_user_data(void)
apoint_llist_free();
recur_apoint_llist_free();
recur_event_llist_free();
- for (i = 0; i <= 37; i++)
+ for (i = 0; i <= REG_BLACK_HOLE; i++)
ui_day_item_cut_free(i);
todo_free_list();
notify_free_app();