diff options
Diffstat (limited to 'locale/programs')
-rw-r--r-- | locale/programs/ld-messages.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/locale/programs/ld-messages.c b/locale/programs/ld-messages.c index 6bd9f3a2b4..48c63e2a61 100644 --- a/locale/programs/ld-messages.c +++ b/locale/programs/ld-messages.c @@ -113,7 +113,7 @@ messages_finish (struct localedef_t *locale, struct charmap_t *charmap) { if (! be_quiet && ! nothing) error (0, 0, _("%s: field `%s' undefined"), "LC_MESSAGES", "yesexpr"); - messages->yesexpr = ""; + messages->yesexpr = "^[yY]"; } else if (messages->yesexpr[0] == '\0') { @@ -146,7 +146,7 @@ messages_finish (struct localedef_t *locale, struct charmap_t *charmap) { if (! be_quiet && ! nothing) error (0, 0, _("%s: field `%s' undefined"), "LC_MESSAGES", "noexpr"); - messages->noexpr = ""; + messages->noexpr = "^[nN]"; } else if (messages->noexpr[0] == '\0') { |