From a7e0d5d2d5b4b4e5d094fb7331e5d39f0224b892 Mon Sep 17 00:00:00 2001 From: terencehill Date: Wed, 14 Jun 2023 12:40:42 +0200 Subject: [PATCH] Fix menu trying to open .en --- qcsrc/lib/i18n.qh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qcsrc/lib/i18n.qh b/qcsrc/lib/i18n.qh index 3069f519d..657cadac6 100644 --- a/qcsrc/lib/i18n.qh +++ b/qcsrc/lib/i18n.qh @@ -14,7 +14,7 @@ ERASEABLE string language_filename(string s) { string fn = prvm_language; - if (fn == "" || fn == "dump") return s; + if (fn == "" || fn == "en" || fn == "dump") return s; fn = strcat(s, ".", fn); int fh = fopen(fn, FILE_READ); if (fh >= 0) -- 2.39.2