From 2e32d1c7e1f12a03d12a4d2f124a50037f3d4aae Mon Sep 17 00:00:00 2001 From: Witold Filipczyk Date: Sun, 30 Jan 2022 17:36:30 +0100 Subject: [PATCH] [lua] lang const --- src/scripting/lua/core.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripting/lua/core.c b/src/scripting/lua/core.c index 1a50062de..25a06e43b 100644 --- a/src/scripting/lua/core.c +++ b/src/scripting/lua/core.c @@ -616,7 +616,7 @@ l_get_option(LS) } case OPT_LANGUAGE: { - char *lang; + const char *lang; #ifdef ENABLE_NLS lang = language_to_name(current_language);