diff options
author | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-12-09 01:20:06 +0100 |
---|---|---|
committer | Lukas Fleischer <calcurse@cryptocrack.de> | 2011-12-09 01:20:06 +0100 |
commit | ef716e4a9267008061f1e6469182a4daaec1c05f (patch) | |
tree | 042cf56f692809dfa2f1d481314a717edc372eee /src | |
parent | a01cbe0c36e27920efe57ac7f3323602f0695afb (diff) | |
download | calcurse-ef716e4a9267008061f1e6469182a4daaec1c05f.tar.gz calcurse-ef716e4a9267008061f1e6469182a4daaec1c05f.zip |
src/day.c: Nuke unneeded variable
Signed-off-by: Lukas Fleischer <calcurse@cryptocrack.de>
Diffstat (limited to 'src')
-rw-r--r-- | src/day.c | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -324,15 +324,12 @@ display_item_date (int incolor, struct apoint *i, int type, long date, { WINDOW *win; char a_st[100], a_end[100]; - int recur = 0; win = apad.ptrwin; apoint_sec2str (i, date, a_st, a_end); - if (type == RECUR_EVNT || type == RECUR_APPT) - recur = 1; if (incolor == 0) custom_apply_attr (win, ATTR_HIGHEST); - if (recur) + if (type == RECUR_EVNT || type == RECUR_APPT) if (i->state & APOINT_NOTIFY) mvwprintw (win, y, x, " *!%s -> %s", a_st, a_end); else |