Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
Maxenceee committed Sep 29, 2023
1 parent b76bef0 commit c777226
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bonus/colors_bonus.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: mgama <mgama@student.42lyon.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/23 20:03:31 by mgama #+# #+# */
/* Updated: 2023/05/20 22:31:00 by mgama ### ########.fr */
/* Updated: 2023/09/29 16:57:10 by mgama ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down
10 changes: 5 additions & 5 deletions bonus/pallets3_bonus.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: mgama <mgama@student.42lyon.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/12/20 19:14:25 by mgama #+# #+# */
/* Updated: 2023/02/18 23:22:12 by mgama ### ########.fr */
/* Updated: 2023/09/29 17:18:41 by mgama ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down Expand Up @@ -36,15 +36,15 @@ void pallet_12(t_color *color_data, int idx)
t_color temp_color_data;
int n;

n = 5;
n = 2;
colors = malloc(n * sizeof(int));
if (!colors)
pallet_error(colors, color_data);
colors[0] = 0x7F1637;
colors[1] = 0x047878;
colors[2] = 0xFFB733;
colors[3] = 0xF57336;
colors[4] = 0xC22121;
// colors[2] = 0xFFB733;
// colors[3] = 0xF57336;
// colors[4] = 0xC22121;
temp_color_data.pallet = colors;
temp_color_data.pallet_length = n;
color_data[idx] = temp_color_data;
Expand Down
2 changes: 1 addition & 1 deletion includes/fractol_bonus.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: mgama <mgama@student.42lyon.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2022/11/21 22:13:52 by mgama #+# #+# */
/* Updated: 2023/05/02 01:50:19 by mgama ### ########.fr */
/* Updated: 2023/09/29 16:57:13 by mgama ### ########.fr */
/* */
/* ************************************************************************** */

Expand Down

0 comments on commit c777226

Please sign in to comment.