From 03ed4535c8489700058fb283837752035f3cf83d Mon Sep 17 00:00:00 2001 From: foswret Date: Sat, 2 May 2026 13:01:10 -0500 Subject: months start on correct first day of the month, no needed --- src/draw.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/draw.h') diff --git a/src/draw.h b/src/draw.h index ed600c8..3e7c1b3 100644 --- a/src/draw.h +++ b/src/draw.h @@ -22,6 +22,6 @@ int print_dimensions(struct dimensions *d); //int draw_month_grid (cairo_t *c, struct dimensions *d); -int draw_month (cairo_t *c, cairo_t *cd, cairo_surface_t *s, struct dimensions *d, int days_in_month); - +int draw_month (cairo_t *c, cairo_t *cd, cairo_surface_t *s, struct dimensions *d, int days_in_month, int start_day); +int day_of_week (int d, int m, int y); -- cgit v1.2.3