summaryrefslogtreecommitdiffstats
path: root/src/p_lcom_next.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/p_lcom_next.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/p_lcom_next.c b/src/p_lcom_next.c
index 94ac9bf..a4fbb61 100644
--- a/src/p_lcom_next.c
+++ b/src/p_lcom_next.c
@@ -34,7 +34,7 @@ static int8_t
varlen += 1;
if (!(s_varname = ft_substr(*p_words, (uint32_t)i, varlen - i)))
return (-1);
- varval = subst_var_value(s_varname, msh);
+ varval = get_var_value(s_varname, msh);
*p_words = ft_strsubst(*p_words, s_varname, varval);
ft_memdel((void*)&s_varname);
ft_memdel((void*)&varval);