config: Accept C and POSIX as languages

They are listed as languages in `locale -a` output.

Signed-off-by: Philip Withnall <withnall@endlessm.com>
This commit is contained in:
Philip Withnall 2019-10-24 13:49:38 +01:00
parent e9aeb637de
commit e78a53fede

View File

@ -51,6 +51,10 @@ looks_like_a_language (const char *s)
int len = strlen (s);
int i;
if (g_str_equal (s, "C") ||
g_str_equal (s, "POSIX"))
return TRUE;
if (len < 2 || len > 3)
return FALSE;