mowc

Unnamed repository; edit this file 'description' to name the repository.
git clone git://git.nihaljere.xyz/mowc
Log | Files | Refs

commit 95438ce8dc56e4c4c1f3abd82d536e040bd799ce
parent f7ed998f5eac47df41749c9d5885c5afd959ed2b
Author: Nihal Jere <nihal@nihaljere.xyz>
Date:   Sun, 27 Jun 2021 14:52:28 -0500

drw: fix filled drawing

Diffstat:
Mdrw.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drw.c b/drw.c @@ -237,7 +237,7 @@ drw_rect(Drw *drw, int x, int y, unsigned int w, unsigned int h, int filled, int wld_fill_rectangle(drw->renderer, color, x, y, w, 1); wld_fill_rectangle(drw->renderer, color, x + w - 1, y + 1, 1, h - 2); wld_fill_rectangle(drw->renderer, color, x, y + 1, 1, h - 2); - wld_fill_rectangle(drw->renderer, color, x, y - 1, w, 1); + wld_fill_rectangle(drw->renderer, color, x, y + h - 1, w, 1); } }