diff options
author | Lukas Fleischer <lfleischer@calcurse.org> | 2017-02-09 08:32:29 +0100 |
---|---|---|
committer | Lukas Fleischer <lfleischer@calcurse.org> | 2017-02-09 08:43:32 +0100 |
commit | 2084f353e3d224bbc21148f25ab2f2539892d386 (patch) | |
tree | ca94f8b3a5b0e979ed5a1fdec40d091a474d2726 /src/pcal.c | |
parent | ed6035afb16e563b3bce9044fdf6fb1163119e70 (diff) | |
download | calcurse-2084f353e3d224bbc21148f25ab2f2539892d386.tar.gz calcurse-2084f353e3d224bbc21148f25ab2f2539892d386.zip |
Fix notification of recurrent appointments
The recur_apoint_starts_before() filter function expected the second
parameter to be passed by value, whereas its only caller passed the
value by reference. For consistency with apoint_starts_after(), change
the signature and the implementation of recur_apoint_starts_before()
such that the parameter is passed by reference.
Also, add a comment to the only caller of recur_apoint_starts_before()
to clarify on why recur_apoint_starts_before() is used.
Fixes GitHub issue #25.
Signed-off-by: Lukas Fleischer <lfleischer@calcurse.org>
Diffstat (limited to 'src/pcal.c')
0 files changed, 0 insertions, 0 deletions