Closed rgrmra closed 10 months ago
It should verify if has a comma first, than pass the remaining string to the function ft_atoc.
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/fdf_parser_map.c#L87
Fixed! First we check for comma then check for hex. If it won't find comma "," or hex "0x" it will define the color as white.
It should verify if has a comma first, than pass the remaining string to the function ft_atoc.
https://github.com/rgrmra/fdf/blob/5597f01de3fde9bdabe691c0133bd5e425b23452/srcs/fdf_parser_map.c#L87