diff options
Diffstat (limited to 'src/shared/locale-util.c')
-rw-r--r-- | src/shared/locale-util.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/locale-util.c b/src/shared/locale-util.c index 9addb05f09..61db9a8125 100644 --- a/src/shared/locale-util.c +++ b/src/shared/locale-util.c @@ -195,7 +195,7 @@ bool locale_is_valid(const char *name) { if (!utf8_is_valid(name)) return false; - if (!filename_is_safe(name)) + if (!filename_is_valid(name)) return false; if (!string_is_safe(name)) |