aboutsummaryrefslogtreecommitdiffstats
path: root/src/ft_select_get.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ft_select_get.c')
-rw-r--r--src/ft_select_get.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/ft_select_get.c b/src/ft_select_get.c
index 4b82430..b5df1bc 100644
--- a/src/ft_select_get.c
+++ b/src/ft_select_get.c
@@ -67,7 +67,7 @@ static int8_t
int8_t
ft_select_get(char **words, t_cub *clist)
{
- int8_t (*fun_ptr[8])(char**, t_cub*);
+ int8_t (*fun_ptr[10])(char**, t_cub*);
int8_t id;
fun_ptr[0] = ft_get_res;
@@ -78,6 +78,8 @@ int8_t
fun_ptr[5] = ft_get_sprite;
fun_ptr[6] = ft_get_f_color;
fun_ptr[7] = ft_get_c_color;
+ fun_ptr[8] = ft_get_path_nl;
+ fun_ptr[9] = ft_get_tex_nl;
if ((id = ft_get_id(words, clist)) == 12)
{
ft_free_words(words);