projects
/
apps
/
madmutt.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
make code a bit more readable.
[apps/madmutt.git]
/
muttlib.c
diff --git
a/muttlib.c
b/muttlib.c
index
2b0c41f
..
65705ca
100644
(file)
--- a/
muttlib.c
+++ b/
muttlib.c
@@
-503,7
+503,7
@@
void mutt_set_parameter (const char *attribute, const char *value,
for (q = *p; q; q = q->next) {
if (ascii_strcasecmp (attribute, q->attribute) == 0) {
for (q = *p; q; q = q->next) {
if (ascii_strcasecmp (attribute, q->attribute) == 0) {
-
str_replace
(&q->value, value);
+
m_strreplace
(&q->value, value);
return;
}
}
return;
}
}
@@
-829,7
+829,7
@@
int mutt_check_overwrite (const char *attname, const char *path,
(_("File is a directory, save under it? [(y)es, (n)o, (a)ll]"),
_("yna"))) {
case 3: /* all */
(_("File is a directory, save under it? [(y)es, (n)o, (a)ll]"),
_("yna"))) {
case 3: /* all */
-
str_replace
(directory, fname);
+
m_strreplace
(directory, fname);
break;
case 1: /* yes */
p_delete(directory);
break;
case 1: /* yes */
p_delete(directory);