X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=init.c;h=624ef3b3e2e51437ff659ae9c93c60251c42738b;hp=f52b1836679f64371e4b6031885c9829684e2577;hb=3c3c535e5ed1d651c6024b5acf670e217af473f7;hpb=cfc49a0d8c3ac2c0bd4b217026d0740c55f2e5db diff --git a/init.c b/init.c index f52b183..624ef3b 100644 --- a/init.c +++ b/init.c @@ -315,7 +315,7 @@ static int path_from_string (struct option_t* dst, const char* val, path[0] = '\0'; m_strcpy(path, sizeof(path), val); mutt_expand_path (path, sizeof(path)); - str_replace ((char **) dst->data, path); + m_strreplace((char **) dst->data, path); return (1); } @@ -327,7 +327,7 @@ static int str_from_string (struct option_t* dst, const char* val, if (!check_special (dst->option, (unsigned long) val, errbuf, errlen)) return (0); - str_replace ((char**) dst->data, val); + m_strreplace((char**) dst->data, val); return (1); } @@ -342,7 +342,7 @@ static int user_from_string (struct option_t* dst, const char* val, dst->data = (unsigned long) m_strdup(val); else { char* s = (char*) dst->data; - str_replace (&s, val); + m_strreplace(&s, val); } if (m_strlen(dst->init) == 0) dst->init = m_strdup((char*) dst->data); @@ -467,7 +467,7 @@ static int rx_from_string (struct option_t* dst, const char* val, p_delete(&p->rx); } - str_replace (&p->pattern, val); + m_strreplace(&p->pattern, val); p->rx = rx; p->not = not;