diff options
author | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:39:11 +0200 |
---|---|---|
committer | JozanLeClerc <bousset.rudy@gmail.com> | 2020-09-30 18:39:11 +0200 |
commit | 64364316125af2831cf448cc27bcbfc531e9c271 (patch) | |
tree | 73a7213d11627ac8dc1490070e6bafd5c7b55932 /src/m_prompt.c | |
parent | Normed d_define (diff) | |
download | 42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.gz 42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.bz2 42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.xz 42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.tar.zst 42-minishell-64364316125af2831cf448cc27bcbfc531e9c271.zip |
Names update
Diffstat (limited to 'src/m_prompt.c')
-rw-r--r-- | src/m_prompt.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/m_prompt.c b/src/m_prompt.c index 94381c3..0dd525e 100644 --- a/src/m_prompt.c +++ b/src/m_prompt.c @@ -75,9 +75,9 @@ static void m_subst_prompt_rice(char var[], t_msh *msh) ft_strsubst_s(var, "\\w", "?"); } else if (var[i + 1] == 'v') - ft_strsubst_s(var, "\\v", FT_MSH_VERSION); + ft_strsubst_s(var, "\\v", M_MSH_VERSION); else if (var[i + 1] == 's') - ft_strsubst_s(var, "\\s", FT_PROGNAME); + ft_strsubst_s(var, "\\s", M_PROGNAME); else if (var[i + 1] == '?') { ft_uitoa_s(tmp, msh->ret); |