diff --git a/f_bonus_print.c b/f_bonus_print.c index 5076c6b..ad0b195 100644 --- a/f_bonus_print.c +++ b/f_bonus_print.c @@ -6,7 +6,7 @@ /* By: hulamy +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/05/27 13:46:29 by hulamy #+# #+# */ -/* Updated: 2019/05/28 09:57:40 by hulamy ### ########.fr */ +/* Updated: 2019/05/29 16:25:52 by hulamy ### ########.fr */ /* */ /* ************************************************************************** */ @@ -30,7 +30,7 @@ t_fillist *print_tetri(t_fillist *list) print = tmp->tetribit; print <<= 16; print_sized_map(&print, tmp->width, tmp->height, tmp->letter); - if (tmp->same) + if (tmp->same && list->dope[1]) { print = tmp->same->tetribit; print <<= 16; diff --git a/f_handle_errors.c b/f_handle_errors.c index 4beabb6..dc27add 100644 --- a/f_handle_errors.c +++ b/f_handle_errors.c @@ -6,7 +6,7 @@ /* By: vmanzoni +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/03/01 13:29:05 by vmanzoni #+# #+# */ -/* Updated: 2019/05/29 15:52:44 by hulamy ### ########.fr */ +/* Updated: 2019/05/29 15:55:03 by hulamy ### ########.fr */ /* */ /* ************************************************************************** */ @@ -23,9 +23,7 @@ void print_error(char *str) } /* -** Function that display error message *s on fd -** with more informations -** and exit program +** Function that display error message *s on fd with more informations */ void print_error_extended(int error, int *dope) diff --git a/f_read_file.c b/f_read_file.c index 2e2ef58..0157491 100644 --- a/f_read_file.c +++ b/f_read_file.c @@ -6,7 +6,7 @@ /* By: vmanzoni +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/04/13 12:09:46 by vmanzoni #+# #+# */ -/* Updated: 2019/05/28 18:36:35 by hulamy ### ########.fr */ +/* Updated: 2019/05/29 16:10:58 by hulamy ### ########.fr */ /* */ /* ************************************************************************** */ @@ -20,7 +20,7 @@ char *read_file(char *file) { char buf[BUFF_SIZE]; int fd; - size_t rv; + int rv; int i; char *result; diff --git a/f_search_map.c b/f_search_map.c index 9cb1713..836f819 100644 --- a/f_search_map.c +++ b/f_search_map.c @@ -6,7 +6,7 @@ /* By: hulamy +#+ +:+ +#+ */ /* +#+#+#+#+#+ +#+ */ /* Created: 2019/04/27 20:47:22 by hulamy #+# #+# */ -/* Updated: 2019/05/29 13:37:51 by vmanzoni ### ########.fr */ +/* Updated: 2019/05/29 16:23:03 by hulamy ### ########.fr */ /* */ /* ************************************************************************** */ @@ -165,5 +165,6 @@ int search_map(t_fillist *list) map[num] = 0; i = fill_map(map, list, size++); } + free(map); return (print_binary_map(map, size, list->dope)); } diff --git a/fillit.dSYM/Contents/Info.plist b/fillit.dSYM/Contents/Info.plist new file mode 100644 index 0000000..96bfe2d --- /dev/null +++ b/fillit.dSYM/Contents/Info.plist @@ -0,0 +1,20 @@ + + + + + CFBundleDevelopmentRegion + English + CFBundleIdentifier + com.apple.xcode.dsym.fillit + CFBundleInfoDictionaryVersion + 6.0 + CFBundlePackageType + dSYM + CFBundleSignature + ???? + CFBundleShortVersionString + 1.0 + CFBundleVersion + 1 + +