Skip to content

Commit

Permalink
corr 125/125
Browse files Browse the repository at this point in the history
  • Loading branch information
nicolasvienot committed Mar 24, 2019
1 parent d6a6d1b commit 2ade8e9
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 3 deletions.
4 changes: 3 additions & 1 deletion libft/ft_atoi_base.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,14 @@
/* By: nvienot <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/01/21 15:02:50 by nvienot #+# #+# */
/* Updated: 2019/02/17 19:45:22 by nvienot ### ########.fr */
/* Updated: 2019/03/24 16:59:33 by nvienot ### ########.fr */
/* */
/* ************************************************************************** */

#include "libft.h"

// attention || fin de ligne

static int ft_base(int nb, int base)
{
char *base1;
Expand Down
3 changes: 2 additions & 1 deletion srcs/ft_deal_key.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: nvienot <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/11 18:39:39 by nvienot #+# #+# */
/* Updated: 2019/03/18 19:51:35 by nvienot ### ########.fr */
/* Updated: 2019/03/24 16:59:20 by nvienot ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -92,6 +92,7 @@ static int deal_key_2(int key, t_win *w, int a)
else if (key == INF && (w->fract == 6 \
|| w->fract == 12) && w->p.power > 1 && ++a > 0)
w->p.power -= 0.1;
// bloquer max
else if (key == CRF && (w->fract == 6 || w->fract == 12) && ++a > 0)
w->p.power += 1;
else if (key == CRO && (w->fract == 6 \
Expand Down
3 changes: 2 additions & 1 deletion srcs/ft_start.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: nvienot <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2019/03/05 20:49:19 by nvienot #+# #+# */
/* Updated: 2019/03/18 18:51:17 by nvienot ### ########.fr */
/* Updated: 2019/03/24 16:59:03 by nvienot ### ########.fr */
/* */
/* ************************************************************************** */

Expand All @@ -28,6 +28,7 @@ void ft_init_mandelbrot(t_win *win)

void ft_init_start(t_win *win)
{
// a proteger
win->mlx_ptr = mlx_init();
win->win_ptr = mlx_new_window(win->mlx_ptr, \
WIN_HOR_SIZE, WIN_VER_SIZE, WIN_NAME);
Expand Down

0 comments on commit 2ade8e9

Please sign in to comment.