+ p = m_strchrnul(fmt, '?');
+ m_strncpy(elsestring, ssizeof(elsestring), fmt, p - fmt);
+ fmt = p;
+
+ if (!*fmt++) /* move past the trailing `?' */
+ break; /* bad format */
+ }
+
+ switch (ch) {
+ ssize_t col;
+ char lower, nodots, buf[LONG_STRING];
+
+ case '>': /* right justify to EOL */
+ col = mutt_strwidth(dst);
+
+ ch = *fmt++; /* pad char */
+
+ if (COLS - SW > col) {
+ ssize_t wid;
+
+ mutt_FormatString(buf, sizeof(buf), fmt, callback, data, flags);
+ wid = mutt_strwidth(buf);
+
+ pos += m_strpad(dst + pos, dlen - pos, ch, COLS - SW - col - wid);
+ pos += m_strcpy(dst + pos, dlen - pos, buf);
+ }
+ return pos; /* skip rest of input */
+
+ case '|':
+ col = mutt_strwidth(dst);
+
+ ch = *fmt++;
+ /* pad to EOL */
+ pos += m_strpad(dst + pos, dlen - pos, ch, COLS - SW - col);
+ return pos; /* skip rest of input */
+
+ default:
+ lower = nodots = 0;
+
+ while (ch == '_' || ch == ':') {
+ lower |= ch == '_';
+ nodots |= ch == ':';
+ ch = *fmt++;
+ }
+
+ /* use callback function to handle this case */
+ fmt = callback(buf, sizeof (buf), ch, fmt, prefix,
+ ifstring, elsestring, data, flags);