diff --git a/rush00.c b/rush00.c index d842a3f..41b6d2e 100644 --- a/rush00.c +++ b/rush00.c @@ -6,7 +6,7 @@ /* By: jtorrez- +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/03/18 20:15:12 by jtorrez- #+# #+# */ -/* Updated: 2023/03/18 20:25:05 by jtorrez- ### ########.fr */ +/* Updated: 2023/03/18 20:26:32 by jtorrez- ### ########.fr */ /* */ /* ************************************************************************** */ @@ -25,7 +25,7 @@ void rush(int x, int y) int i; i = 0; - if (x == 0 || y == 0) + if (x * y == 0) return ; horiz_line(g_corners[0], g_horizontal, g_corners[1], x); while (i++ < y - 2)