X-Git-Url: http://git.madism.org/?p=apps%2Fmadmutt.git;a=blobdiff_plain;f=compose.c;h=1b278f4d172ee8ce855b4172314eb9c3b619bc60;hp=b11fc663da2efed441f9a71820ca74478920ac25;hb=6896715a0d62173a620b2377dba8e6d2058c1ee2;hpb=38dacbf03fe1a0daa9ce426caaef5582b90006b2 diff --git a/compose.c b/compose.c index b11fc66..1b278f4 100644 --- a/compose.c +++ b/compose.c @@ -445,7 +445,7 @@ static const char *compose_format_str (char *buf, ssize_t buflen, char op, return (src); default: - snprintf (buf, buflen, "%%%s%c", prefix, op); + *buf = 0; break; }