diff options
Diffstat (limited to 'locale/programs')
-rw-r--r-- | locale/programs/ld-monetary.c | 2 | ||||
-rw-r--r-- | locale/programs/ld-numeric.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/locale/programs/ld-monetary.c b/locale/programs/ld-monetary.c index 2b2ac63397..b9838834af 100644 --- a/locale/programs/ld-monetary.c +++ b/locale/programs/ld-monetary.c @@ -708,7 +708,7 @@ monetary_read (struct linereader *ldfile, struct localedef_t *result, monetary->cat = ""; \ monetary->cat##_wc = L'\0'; \ } \ - else if (now->val.str.startwc != NULL && now->val.str.lenwc > 1) \ + else if (now->val.str.startwc != NULL && now->val.str.lenwc > 2) \ { \ lr_error (ldfile, _("\ %s: value for field `%s' must be a single character"), "LC_MONETARY", #cat); \ diff --git a/locale/programs/ld-numeric.c b/locale/programs/ld-numeric.c index d7cec903a8..ffd85d5623 100644 --- a/locale/programs/ld-numeric.c +++ b/locale/programs/ld-numeric.c @@ -258,7 +258,7 @@ numeric_read (struct linereader *ldfile, struct localedef_t *result, numeric->cat = ""; \ numeric->cat##_wc = L'\0'; \ } \ - else if (now->val.str.startwc != NULL && now->val.str.lenwc > 1) \ + else if (now->val.str.startwc != NULL && now->val.str.lenwc > 2) \ { \ lr_error (ldfile, _("\ %s: value for field `%s' must be a single character"), "LC_NUMERIC", #cat); \ |