mirror of
https://github.com/DavidGailleton/42-Push_Swap.git
synced 2026-01-27 08:41:58 +00:00
fixing some issues on the checker error and need to fix a last thing on the bucket range algo
This commit is contained in:
@@ -21,6 +21,8 @@ static int scan_str_is_digit(char *tab)
|
||||
{
|
||||
if (!ft_isdigit(tab[i]) && (tab[i] == '-' && !ft_isdigit(tab[i + 1])))
|
||||
return (0);
|
||||
if (tab[i] == '+' && !ft_isdigit(tab[i + 1]))
|
||||
return (0);
|
||||
i++;
|
||||
}
|
||||
return (1);
|
||||
|
||||
Reference in New Issue
Block a user