summaryrefslogtreecommitdiff
path: root/tex/context/base/char-ini.lua
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2014-08-19 11:57:00 +0200
committerHans Hagen <pragma@wxs.nl>2014-08-19 11:57:00 +0200
commit7169f20fa4a82724c4050f1c2756b303db5e2749 (patch)
tree455657221509ccda235cff8b7370d3a9efc29129 /tex/context/base/char-ini.lua
parent24ec7789fc1ebd336fa907e58266e03134b6bbd2 (diff)
downloadcontext-7169f20fa4a82724c4050f1c2756b303db5e2749.tar.gz
beta 2014.08.19 11:57
Diffstat (limited to 'tex/context/base/char-ini.lua')
-rw-r--r--tex/context/base/char-ini.lua8
1 files changed, 4 insertions, 4 deletions
diff --git a/tex/context/base/char-ini.lua b/tex/context/base/char-ini.lua
index e5806622c..f7b5f8871 100644
--- a/tex/context/base/char-ini.lua
+++ b/tex/context/base/char-ini.lua
@@ -711,10 +711,10 @@ of the official <l n='api'/>.</p>
-- we could make them virtual: characters.contextnames[n]
-function characters.contextname(n) return data[n].contextname or "" end
-function characters.adobename (n) return data[n].adobename or "" end
-function characters.description(n) return data[n].description or "" end
--------- characters.category (n) return data[n].category or "" end
+function characters.contextname(n) return data[n] and data[n].contextname or "" end
+function characters.adobename (n) return data[n] and data[n].adobename or "" end
+function characters.description(n) return data[n] and data[n].description or "" end
+-------- characters.category (n) return data[n] and data[n].category or "" end
function characters.category(n,verbose)
local c = data[n].category