diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 00:56:03 +0100 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-03-02 00:56:03 +0100 |
commit | d812df80d26f879d4d49ec45453866574e995839 (patch) | |
tree | d6c143d0356d72a4274dc125e354b4e51acf0f4b /src/ft_get_music.c | |
parent | in progress (diff) | |
download | 42-cub3d-d812df80d26f879d4d49ec45453866574e995839.tar.gz 42-cub3d-d812df80d26f879d4d49ec45453866574e995839.tar.bz2 42-cub3d-d812df80d26f879d4d49ec45453866574e995839.tar.xz 42-cub3d-d812df80d26f879d4d49ec45453866574e995839.tar.zst 42-cub3d-d812df80d26f879d4d49ec45453866574e995839.zip |
trying to thread
Diffstat (limited to '')
-rw-r--r-- | src/ft_get_music.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ft_get_music.c b/src/ft_get_music.c index 0b6fede..b232980 100644 --- a/src/ft_get_music.c +++ b/src/ft_get_music.c @@ -22,7 +22,6 @@ int8_t ft_sprintf(clist->errmsg, FT_ERR_ARGS); return (-1); } - ft_printf("%s", *(words + 1)); if (ft_check_ext(*(words + 1), ".wav") < 0) { ft_sprintf(clist->errmsg, FT_ERR_NOT_A_WAV); @@ -34,7 +33,7 @@ int8_t ft_sprintf(clist->errmsg, FT_ERR_ALLOCATE); return (-1); } - if (ft_check_not_found(clist->mlist->nlevel_path) < 0) + if (ft_check_not_found(clist->mlist->music_path) < 0) { ft_sprintf(clist->errmsg, FT_ERR_RD_MUSIC); return (-1); |