From a3a7f3214cd0ad8fb63c8faeb4acd954fead3d88 Mon Sep 17 00:00:00 2001 From: Philip Withnall Date: Thu, 24 Oct 2019 13:50:22 +0100 Subject: [PATCH] config: Accept `bokmal` as a language MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit It’s listed in `locale -a` output, even though it should canonically be represented as `nb`. Signed-off-by: Philip Withnall --- app/flatpak-builtins-config.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/flatpak-builtins-config.c b/app/flatpak-builtins-config.c index b491b12f..5d24dc73 100644 --- a/app/flatpak-builtins-config.c +++ b/app/flatpak-builtins-config.c @@ -55,7 +55,7 @@ looks_like_a_language (const char *s) g_str_equal (s, "POSIX")) return TRUE; - if (len < 2 || len > 3) + if (len < 2) return FALSE; for (i = 0; i < len; i++)