optimizations, remove horrors.
[apps/madmutt.git] / lib-ui / status.c
index ffbdaee..e3dd6e1 100644 (file)
@@ -275,7 +275,7 @@ static const char *status_format_str (char *buf, ssize_t buflen, char op,
     return (src);
 
   default:
-    snprintf (buf, buflen, "%%%s%c", prefix, op);
+    *buf = 0;
     break;
   }