diff options
Diffstat (limited to 'locale/programs/locfile.c')
-rw-r--r-- | locale/programs/locfile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/locale/programs/locfile.c b/locale/programs/locfile.c index 389adf1ee3..c5e5581ac5 100644 --- a/locale/programs/locfile.c +++ b/locale/programs/locfile.c @@ -47,7 +47,7 @@ locfile_read (struct localedef_t *result, const struct charmap_t *charmap) { const char *filename = result->name; const char *repertoire_name = result->repertoire_name; - int locale_mask = result->needed ^ result->avail; + int locale_mask = result->needed & ~result->avail; struct linereader *ldfile; int not_here = ALL_LOCALES; |