aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 00:05:56 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 00:05:56 +0100
commit462635ce9b6c5d91dc0909a0b659162f34de5c74 (patch)
tree11781ada1756302d7ba8187bc87c6475d001b16a /src
parentFixed sprite bug (diff)
download42-cub3d-462635ce9b6c5d91dc0909a0b659162f34de5c74.tar.gz
42-cub3d-462635ce9b6c5d91dc0909a0b659162f34de5c74.tar.bz2
42-cub3d-462635ce9b6c5d91dc0909a0b659162f34de5c74.tar.xz
42-cub3d-462635ce9b6c5d91dc0909a0b659162f34de5c74.tar.zst
42-cub3d-462635ce9b6c5d91dc0909a0b659162f34de5c74.zip
Ok nice
Diffstat (limited to 'src')
-rw-r--r--src/ft_free_words.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ft_free_words.c b/src/ft_free_words.c
index 648706c..a90b959 100644
--- a/src/ft_free_words.c
+++ b/src/ft_free_words.c
@@ -33,7 +33,7 @@ uint8_t
size_t i;
i = 0;
- while (words[i] && words[i][0])
+ while (words[i])
{
ft_memdel((void**)&words[i]);
i++;