(STR_ELEM): Fix test for too long string in definition.
authordrepper <drepper>
Sat, 29 Jan 2000 08:08:00 +0000 (08:08 +0000)
committerdrepper <drepper>
Sat, 29 Jan 2000 08:08:00 +0000 (08:08 +0000)
locale/programs/ld-numeric.c

index d7cec90..ffd85d5 100644 (file)
@@ -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);   \