Caruychen / 42Hive-Lem_in

Integrated smart ant colony transport system
2 stars 0 forks source link

space after coord bugfix #45

Closed crl-n closed 2 years ago

crl-n commented 2 years ago

This PR fixes the issue where extra spaces in room lines are treated as valid (see issue #43).

The fix adds a ft_count_char to the project's libft. The function is used to check that the room line contains 2 and only 2 spaces. A map for testing this is added to maps/error/.