diff --git a/ex00/rush00.c b/ex00/rush00.c index bdaedd7..6e15eda 100644 --- a/ex00/rush00.c +++ b/ex00/rush00.c @@ -6,7 +6,7 @@ /* By: jtorrez- +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/03/18 20:15:12 by jtorrez- #+# #+# */ -/* Updated: 2023/03/19 04:21:23 by tischmid ### ########.fr */ +/* Updated: 2023/03/19 18:56:58 by tischmid ### ########.fr */ /* */ /* ************************************************************************** */ @@ -31,7 +31,7 @@ void rush(int x, int y) int i; i = 0; - if (x * y == 0) + if (x < 1 && y < 1) return ; horiz_line(g_corners[0], g_horizontal, g_corners[1], x); while (i++ < y - 2)