Skip to content

Commit

Permalink
normage
Browse files Browse the repository at this point in the history
  • Loading branch information
thifranc committed Dec 2, 2017
1 parent e34b9d0 commit eb0ea89
Show file tree
Hide file tree
Showing 5 changed files with 4 additions and 4 deletions.
Binary file added .ft_strcmpi.c.swp
Binary file not shown.
Binary file added .ft_strlower.c.swp
Binary file not shown.
Binary file added .ft_tolower.c.swp
Binary file not shown.
4 changes: 2 additions & 2 deletions ft_strcmpi.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
/* By: thifranc <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2016/02/14 11:35:35 by thifranc #+# #+# */
/* Updated: 2017/10/30 17:21:11 by thifranc ### ########.fr */
/* Updated: 2017/12/02 12:51:19 by thifranc ### ########.fr */
/* */
/* ************************************************************************** */

Expand All @@ -17,7 +17,7 @@ int ft_strcmpi(const char *s1, const char *s2)
unsigned int i;

i = 0;
while (s1[i] && ft_tolower(s1[i]) == ft_tolower(s2[i]) )
while (s1[i] && ft_tolower(s1[i]) == ft_tolower(s2[i]))
i++;
return ((unsigned char)s1[i] - (unsigned char)s2[i]);
}
4 changes: 2 additions & 2 deletions ft_strlower.c
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@
/* By: thifranc <[email protected]> +#+ +:+ +#+ */
/* +#+#+#+#+#+ +#+ */
/* Created: 2017/10/30 17:23:15 by thifranc #+# #+# */
/* Updated: 2017/10/30 17:38:43 by thifranc ### ########.fr */
/* Updated: 2017/12/02 12:51:41 by thifranc ### ########.fr */
/* */
/* ************************************************************************** */

#include "libft.h"

char *ft_strlower(char *s)
char *ft_strlower(char *s)
{
int i;

Expand Down

0 comments on commit eb0ea89

Please sign in to comment.