From 8d68891b9e6089cd29095c94d0a30f2a3ec0a2c7 Mon Sep 17 00:00:00 2001 From: JozanLeClerc Date: Fri, 13 Mar 2020 02:35:49 +0100 Subject: Freed leaks --- src/ft_key_loop.c | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/ft_key_loop.c') diff --git a/src/ft_key_loop.c b/src/ft_key_loop.c index 66f72ef..8f9d688 100644 --- a/src/ft_key_loop.c +++ b/src/ft_key_loop.c @@ -58,7 +58,10 @@ static void { pl->pos_x = old_x + ((old_x - x) / 3); pl->pos_y = old_y + ((old_y - y) / 3); - ft_suffer_animation(cl); + if (FT_OS == 1) + ft_macos_suffer_animation(cl); + else + ft_linux_suffer_animation(cl); x = ft_find_x(key, pl); y = ft_find_y(key, pl); } -- cgit v1.2.3