diff options
| author | foswret | 2026-05-02 13:01:10 -0500 |
|---|---|---|
| committer | foswret | 2026-05-02 13:01:10 -0500 |
| commit | 03ed4535c8489700058fb283837752035f3cf83d (patch) | |
| tree | 731fc9b8959770c1c1e1d194cb37972f098365cf /src/draw.h | |
| parent | 7540a10d9a2d377191b64a29e794d4b58f320347 (diff) | |
months start on correct first day of the month, no <time.h> needed
Diffstat (limited to 'src/draw.h')
| -rw-r--r-- | src/draw.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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); |
