diff --git a/main.c b/main.c index 59d68ec..2fbd51a 100644 --- a/main.c +++ b/main.c @@ -6,14 +6,13 @@ /* By: jtorrez- +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2023/03/18 20:15:26 by jtorrez- #+# #+# */ -/* Updated: 2023/03/19 00:20:54 by tischmid ### ########.fr */ +/* Updated: 2023/03/19 02:05:14 by tischmid ### ########.fr */ /* */ /* ************************************************************************** */ -#include #include "include/ft_lib.h" #include "include/arghandle.h" -#include "include/rush00.h" +#include "include/rush0X.h" int main(int argc, char *argv[]) { @@ -28,8 +27,8 @@ int main(int argc, char *argv[]) usage(argv[0]); return (1); } - max_width = get_dim("cols", 200); - max_height = get_dim("lines", 200); + max_width = get_dim("cols", g_default_max_width); + max_height = get_dim("lines", g_default_max_height); width = ft_atoi(argv[1]); height = ft_atoi(argv[2]); if (width > max_width)