summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorMarius <mariausol@gmail.com>2011-01-31 00:18:53 +0200
committerMarius <mariausol@gmail.com>2011-01-31 00:18:53 +0200
commit3019c4ccfb0d984b45670a86d2400a6aacfbaa68 (patch)
tree92edfef9689a49ee95bc35cbe875a5e0ed0c7121 /tex/generic
parentfcf2bf760b1f48c1ba2f5d0a3eed5dacb2751e95 (diff)
downloadcontext-3019c4ccfb0d984b45670a86d2400a6aacfbaa68.tar.gz
beta 2011.01.18 19:34
Diffstat (limited to 'tex/generic')
-rw-r--r--tex/generic/context/luatex-fonts-merged.lua6
1 files changed, 3 insertions, 3 deletions
diff --git a/tex/generic/context/luatex-fonts-merged.lua b/tex/generic/context/luatex-fonts-merged.lua
index 59dbc499e..67a48dd9c 100644
--- a/tex/generic/context/luatex-fonts-merged.lua
+++ b/tex/generic/context/luatex-fonts-merged.lua
@@ -1,6 +1,6 @@
-- merged file : luatex-fonts-merged.lua
-- parent file : luatex-fonts.lua
--- merge date : 01/14/11 14:44:17
+-- merge date : 01/18/11 19:34:25
do -- begin closure to overcome local limits and interference
@@ -60,9 +60,9 @@ function string.count(str,pattern) -- variant 3
return n
end
-function string.limit(str,n,sentinel)
+function string.limit(str,n,sentinel) -- not utf proof
if #str > n then
- sentinel = sentinel or " ..."
+ sentinel = sentinel or "..."
return sub(str,1,(n-#sentinel)) .. sentinel
else
return str