summaryrefslogtreecommitdiff
path: root/tex/context/base/char-ini.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2014-08-19 12:15:05 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2014-08-19 12:15:05 +0200
commit26048fb1a13b467f694b3977fdad699ecc33064d (patch)
treedf8c280cdf1cc45ce3cef8b279898dac75511155 /tex/context/base/char-ini.lua
parent81c5ec09fae6aa6702a6e30f953545876a4c0cfd (diff)
downloadcontext-26048fb1a13b467f694b3977fdad699ecc33064d.tar.gz
2014-08-19 11:59:00
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