summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorPhilipp Gesang <phg@phi-gamma.net>2016-04-13 00:55:49 +0200
committerPhilipp Gesang <phg@phi-gamma.net>2016-04-13 00:55:57 +0200
commitd68931e1eba3e1cced0b1509b1e90cc5a929a4c1 (patch)
treeac36f253f14f684fb111265e31b3c33e9af0b4d2 /src
parentf0deb1226705f86d849e40a83c7a9b027f8a2957 (diff)
downloadluaotfload-d68931e1eba3e1cced0b1509b1e90cc5a929a4c1.tar.gz
[init] avoid infinite recursion in characters.__index
Fallout of the new character table loading routine.
Diffstat (limited to 'src')
-rw-r--r--src/luaotfload-init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/luaotfload-init.lua b/src/luaotfload-init.lua
index 5fafceb..8b13fe6 100644
--- a/src/luaotfload-init.lua
+++ b/src/luaotfload-init.lua
@@ -443,7 +443,7 @@ do
load_chardef ()
end
- return characters [k]
+ return rawget (characters, k)
end
setmetatableindex (characters, charindex)