comparison src/message.c @ 856:8cd729851562 v7.0g

updated for version 7.0g
author vimboss
date Sun, 30 Apr 2006 18:54:39 +0000
parents d58e3db4a7d1
children 591fb953a280
comparison
equal deleted inserted replaced
855:d2a4f08396fe 856:8cd729851562
3517 *hotkp = NUL; 3517 *hotkp = NUL;
3518 } 3518 }
3519 else 3519 else
3520 { 3520 {
3521 len += (int)(STRLEN(message) 3521 len += (int)(STRLEN(message)
3522 + 2 /* for the NL's */ 3522 + 2 /* for the NL's */
3523 + STRLEN(buttons) 3523 + STRLEN(buttons)
3524 + 3); /* for the ": " and NUL */ 3524 + 3); /* for the ": " and NUL */
3525 lenhotkey++; /* for the NUL */ 3525 lenhotkey++; /* for the NUL */
3526 3526
3527 /* If no hotkey is specified first char is used. */ 3527 /* If no hotkey is specified first char is used. */
3528 if (!has_hotkey[0]) 3528 if (!has_hotkey[0])
3529 { 3529 {
4448 /* unrecognized conversion specifier, keep format string 4448 /* unrecognized conversion specifier, keep format string
4449 * as-is */ 4449 * as-is */
4450 zero_padding = 0; /* turn zero padding off for non-numeric 4450 zero_padding = 0; /* turn zero padding off for non-numeric
4451 convers. */ 4451 convers. */
4452 justify_left = 1; 4452 justify_left = 1;
4453 min_field_width = 0; /* reset flags */ 4453 min_field_width = 0; /* reset flags */
4454 4454
4455 /* discard the unrecognized conversion, just keep * 4455 /* discard the unrecognized conversion, just keep *
4456 * the unrecognized conversion character */ 4456 * the unrecognized conversion character */
4457 str_arg = p; 4457 str_arg = p;
4458 str_arg_l = 0; 4458 str_arg_l = 0;
4459 if (*p != NUL) 4459 if (*p != NUL)
4460 str_arg_l++; /* include invalid conversion specifier 4460 str_arg_l++; /* include invalid conversion specifier
4461 unchanged if not at end-of-string */ 4461 unchanged if not at end-of-string */