diff options
author | Lars Henriksen <LarsHenriksen@get2net.dk> | 2019-10-22 07:30:04 +0200 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2020-04-28 07:32:44 -0400 |
commit | 23eb51456a4a2ece4fd8f3ac4db956773350d5ed (patch) | |
tree | 3cc618726bc801b28a320a60474ea210fb32a05a /src/notify.c | |
parent | bf3dba2ae2b3c1f0e06191b6878dc7f22570f8f6 (diff) | |
download | calcurse-23eb51456a4a2ece4fd8f3ac4db956773350d5ed.tar.gz calcurse-23eb51456a4a2ece4fd8f3ac4db956773350d5ed.zip |
Refactor edit of exception days
The patch contains no functional changes, but is a necessary
precondition for extensions of update_rept() (in ui-day.c) with further
recurrence rules.
The reason is that recurrence parameters must be treated as a whole: if
an edit session is cancelled at any point, no value should change, and
all parameters should remain as they were. Hence, the new values must
only be set after all of them have been determined. This was not the
case for the list of exception days, but as long as it was treated last,
it did not matter.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/notify.c')
0 files changed, 0 insertions, 0 deletions