diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-11 13:06:55 +0200 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-10-21 08:58:54 +0200 |
commit | 2bf02493385ffe5e51b5480e57f9643bc80b8267 (patch) | |
tree | 3c791cc59ef006c689c7c2bda79e3a2222ecf51b /src/todo.c%252525253fid%252525253d44bc9605d6d3af9162dc917c43b7a466a24a230b%2525253fid%2525253d44bc9605d6d3af9162dc917c43b7a466a24a230b%25253fid%25253d44bc9605d6d3af9162dc917c43b7a466a24a230b%253fid%253d9aa9fde504fa3a05fcad04d6db086806ac8830c7%3fid%3d2bf02493385ffe5e51b5480e57f9643bc80b8267?id=2bf02493385ffe5e51b5480e57f9643bc80b8267 | |
parent | 28c98f7d0136b4a533e26f076886aa242c709f1c (diff) |
Avoid unnecessary start time calculations
Rename recur_*_inday() to recur_*_find_occurrence() and use the new
functions whenever we actually care about the start time of an
occurrence.
Reintroduce recur_*_inday() as wrappers to recur_*_find_occurrence() and
pass NULL as start time buffer (which means "skip start time
calculation"). Keep using these when we only want to know if a recurrent
item belongs to a specific day but do not care about the actual start
time.
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src/todo.c%252525253fid%252525253d44bc9605d6d3af9162dc917c43b7a466a24a230b%2525253fid%2525253d44bc9605d6d3af9162dc917c43b7a466a24a230b%25253fid%25253d44bc9605d6d3af9162dc917c43b7a466a24a230b%253fid%253d9aa9fde504fa3a05fcad04d6db086806ac8830c7%3fid%3d2bf02493385ffe5e51b5480e57f9643bc80b8267?id=2bf02493385ffe5e51b5480e57f9643bc80b8267')
0 files changed, 0 insertions, 0 deletions