strfmon: Fix typos in source code comments
s/defult/default s/internaltion/international Reviewed by: kib PR: 267282 Github PR: #619 MFC after: 1 week
This commit is contained in:
parent
d5980dff6b
commit
0afd11d50f
@ -224,7 +224,7 @@ vstrfmon_l(char * __restrict s, size_t maxsize, locale_t loc,
|
||||
|
||||
/* Conversion Characters */
|
||||
switch (*fmt++) {
|
||||
case 'i': /* use internaltion currency format */
|
||||
case 'i': /* use international currency format */
|
||||
flags |= USE_INTL_CURRENCY;
|
||||
break;
|
||||
case 'n': /* use national currency format */
|
||||
@ -439,7 +439,7 @@ __setup_vars(int flags, char *cs_precedes, char *sep_by_space,
|
||||
*signstr = lc->positive_sign;
|
||||
}
|
||||
|
||||
/* Set defult values for unspecified information. */
|
||||
/* Set default values for unspecified information. */
|
||||
if (*cs_precedes != 0)
|
||||
*cs_precedes = 1;
|
||||
if (*sep_by_space == CHAR_MAX)
|
||||
|
Loading…
Reference in New Issue
Block a user