summaryrefslogtreecommitdiff
path: root/src/day.c
diff options
context:
space:
mode:
authorFrederic Culot <calcurse@culot.org>2009-07-12 16:21:57 +0000
committerFrederic Culot <calcurse@culot.org>2009-07-12 16:21:57 +0000
commit56949550025f447691b0f32632b35af4749da358 (patch)
treeb51bf757d54bfca2ed7a0bd8124f18e506c83d98 /src/day.c
parentd4d29be0fa41c079ab0a9e11585f65ff5e2828cf (diff)
downloadcalcurse-56949550025f447691b0f32632b35af4749da358.zip
stdbool header removed, unsigned type used instead
Diffstat (limited to 'src/day.c')
-rwxr-xr-xsrc/day.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/day.c b/src/day.c
index 65a4fa2..d936372 100755
--- a/src/day.c
+++ b/src/day.c
@@ -1,4 +1,4 @@
-/* $calcurse: day.c,v 1.49 2009/07/05 20:33:18 culot Exp $ */
+/* $calcurse: day.c,v 1.50 2009/07/12 16:22:00 culot Exp $ */
/*
* Calcurse - text-based organizer
@@ -295,7 +295,7 @@ day_store_items (long date, unsigned *pnb_events, unsigned *pnb_apoints)
* day. This is useful to speed up the appointment panel update.
*/
day_items_nb_t *
-day_process_storage (date_t *slctd_date, bool day_changed,
+day_process_storage (date_t *slctd_date, unsigned day_changed,
day_items_nb_t *inday)
{
long date;
@@ -408,7 +408,7 @@ day_write_pad (long date, int width, int length, int incolor)
apoint_llist_node_t a;
int line, item_number, max_pos, recur;
const int x_pos = 0;
- bool draw_line = false;
+ unsigned draw_line = 0;
line = item_number = 0;
max_pos = length;
@@ -431,7 +431,7 @@ day_write_pad (long date, int width, int length, int incolor)
display_item (item_number - incolor, p->mesg, recur,
(p->note != NULL) ? 1 : 0, width - 7, line, x_pos);
line++;
- draw_line = true;
+ draw_line = 1;
}
else
{
@@ -440,7 +440,7 @@ day_write_pad (long date, int width, int length, int incolor)
{
wmove (apad.ptrwin, line, 0);
whline (apad.ptrwin, 0, width);
- draw_line = false;
+ draw_line = 0;
}
/* Last print the appointments for current day. */
item_number++;