Changeset 1716:e537695cd77b for commands.c
- Timestamp:
- 2000-05-09 08:19:26 (9 years ago)
- Branch:
- HEAD
- Files:
-
- 1 modified
-
commands.c (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
commands.c
r1640 r1716 218 218 rfc822_write_address (buf, sizeof (buf), adr); 219 219 220 snprintf (prompt, (COLS > sizeof(prompt) ? sizeof(prompt) : COLS) - 13, 220 #define extra_space (15 + 7 + 2) 221 /* 222 * This is the printing width of "...? ([y=yes]/n=no): ?" plus 2 223 * for good measure. This is not ideal. FIXME. 224 */ 225 snprintf (prompt, sizeof (prompt), 221 226 (h ? _("Bounce message to %s") : _("Bounce messages to %s")), buf); 222 strcat(prompt, "...?"); 227 mutt_format_string (prompt, sizeof (prompt), 228 0, COLS-extra_space, 0, 0, 229 prompt, sizeof (prompt)); 230 strcat (prompt, "...?"); 223 231 if (mutt_yesorno (prompt, 1) != 1) 224 232 {
