correction ptit bug touche suppr
This commit is contained in:
parent
060800769b
commit
4dea36519b
1 changed files with 2 additions and 2 deletions
|
|
@ -6,7 +6,7 @@
|
|||
/* By: gwojda <gwojda@student.42.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2017/01/05 16:02:43 by gwojda #+# #+# */
|
||||
/* Updated: 2017/02/05 17:08:58 by gwojda ### ########.fr */
|
||||
/* Updated: 2017/02/07 15:27:48 by gwojda ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
|
|
@ -83,7 +83,7 @@ void ft_del(void)
|
|||
|
||||
tmp = POS;
|
||||
STR = ft_remove_imput(STR, tmp);
|
||||
if (!(STR && POS < ft_strlen(STR + 1)))
|
||||
if (!(STR && POS < ft_strlen(STR) + 1))
|
||||
return ;
|
||||
if (POS)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue