summaryrefslogtreecommitdiff
path: root/tex/generic
diff options
context:
space:
mode:
authorHans Hagen <pragma@wxs.nl>2011-01-18 19:34:00 +0100
committerHans Hagen <pragma@wxs.nl>2011-01-18 19:34:00 +0100
commit94e8563927cb29baf940ea15f9f48c9e06e1f95c (patch)
tree0b2052fcabdc0f570fb2a14b8fb97365c847abab /tex/generic
parent4f903253161d4f14a4d880c75803766aba620005 (diff)
downloadcontext-94e8563927cb29baf940ea15f9f48c9e06e1f95c.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