aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 4d7b341..d80866b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -18,7 +18,7 @@ int
if (ft_init_winlx(wlist) < 0)
return (ft_exit(3, wlist));
mlx_key_hook(wlist->winptr, ft_key_event, wlist);
- ft_drawsquare(wlist, 80, 80);
+ ft_drawsquare(80, 80, wlist->clist->f_color, wlist);
mlx_loop(wlist->wlx);
return (0);
}