1
0
mirror of https://github.com/minetest-mods/intllib.git synced 2025-03-13 16:00:57 +01:00

Fix incorrect variable name

This commit is contained in:
ShadowNinja 2015-02-16 23:22:21 -05:00
parent c497c7b10c
commit 4a0c8e1580

View File

@ -23,7 +23,7 @@ local insertion_pattern = "("..INS_CHAR.."?)"..INS_CHAR.."(%(?)(%d+)(%)?)"
local function make_getter(msgstrs)
return function(s, ...)
local str
if strs then
if msgstrs then
str = msgstrs[s]
end
if not str or str == "" then