Archived
1
0

🚧」 test: testing things, might broke.

This commit is contained in:
Maelys
2024-09-11 16:00:35 +02:00
parent f62ec3fc0b
commit e7b1209541
10 changed files with 163 additions and 28 deletions

26
src/utils/parse_utils.c Normal file
View File

@ -0,0 +1,26 @@
/* ************************************************************************** */
/* */
/* ::: :::::::: */
/* parse_utils.c :+: :+: :+: */
/* +:+ +:+ +:+ */
/* By: madumerg <madumerg@42angouleme.fr> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2024/09/11 14:20:54 by madumerg #+# #+# */
/* Updated: 2024/09/11 14:31:27 by madumerg ### ########.fr */
/* */
/* ************************************************************************** */
#include "cub3d.h"
void convert_white_s(char *str)
{
int i;
i = 0;
while (str[i])
{
if (str[i] >= 9 && str[i] <= 13)
str[i] = 32;
i++;
}
}