diff options
Diffstat (limited to 'tex/context/base/core-con.lua')
-rw-r--r-- | tex/context/base/core-con.lua | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tex/context/base/core-con.lua b/tex/context/base/core-con.lua index ea1f6635d..3ad9f6c98 100644 --- a/tex/context/base/core-con.lua +++ b/tex/context/base/core-con.lua @@ -142,7 +142,9 @@ local function chrs(n,m,t) chrs(floor((n-1)/26),m,t) n = (n-1)%26 + 1 end - t[#t+1] = utfchar(n+m) + if n ~= 0 then + t[#t+1] = utfchar(n+m) + end if n <= 26 then return concat(t) end |