aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_get_music.c
diff options
context:
space:
mode:
authorJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 03:11:12 +0100
committerJozanLeClerc <bousset.rudy@gmail.com>2020-03-13 03:11:12 +0100
commita90c6f5cafbc47c7380d932d8db7bffd9b8b72bf (patch)
tree4e7044b92a3e97a338aaf769fe2b55d63e69338b /src/ft_get_music.c
parentRemoved beta minilibx make options (diff)
download42-cub3d-a90c6f5cafbc47c7380d932d8db7bffd9b8b72bf.tar.gz
42-cub3d-a90c6f5cafbc47c7380d932d8db7bffd9b8b72bf.tar.bz2
42-cub3d-a90c6f5cafbc47c7380d932d8db7bffd9b8b72bf.tar.xz
42-cub3d-a90c6f5cafbc47c7380d932d8db7bffd9b8b72bf.tar.zst
42-cub3d-a90c6f5cafbc47c7380d932d8db7bffd9b8b72bf.zip
sounds
Diffstat (limited to 'src/ft_get_music.c')
-rw-r--r--src/ft_get_music.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ft_get_music.c b/src/ft_get_music.c
index 2383e0a..7a8d36f 100644
--- a/src/ft_get_music.c
+++ b/src/ft_get_music.c
@@ -21,11 +21,11 @@ static int8_t
uint8_t len;
len = ft_strlen(mlist->music_path);
- len += ft_strlen(FT_MUS_CMD) - 2;
+ len += ft_strlen(FT_SND_CMD) - 2;
ft_memdel((void**)&mlist->music_cmd);
if (!(mlist->music_cmd = (char *)malloc((len + 1) * sizeof(char))))
return (-1);
- ft_sprintf(mlist->music_cmd, FT_MUS_CMD,
+ ft_sprintf(mlist->music_cmd, FT_SND_CMD,
mlist->music_path);
ft_free_words(mlist->mcmd_words);
if (!(mlist->mcmd_words = ft_split(mlist->music_cmd, ' ')))