summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex
diff options
context:
space:
mode:
authorKhaled Hosny <khaledhosny@eglug.org>2013-04-04 17:39:51 +0000
committerKhaled Hosny <khaledhosny@eglug.org>2013-04-04 17:39:51 +0000
commit1ad2b9fe98fa89e00cd3ac9f7b39956472438473 (patch)
treedd89f49442784cae3db23ab1b1f35228e76548c9 /Master/texmf-dist/tex
parentfd4545fe5a780ce3e1fbf1b78d668729de1bff7d (diff)
Hotfix for handling Babel dialects
git-svn-id: svn://tug.org/texlive/trunk@29641 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex')
-rw-r--r--Master/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua b/Master/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua
index 6196bafcc92..bb4895ed991 100644
--- a/Master/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua
+++ b/Master/texmf-dist/tex/luatex/hyph-utf8/luatex-hyphen.lua
@@ -83,7 +83,7 @@ function adddialect(dialect, language)
if dialect ~= '0' then
dialect = dialect:gsub('l@', '')
language = language:gsub('l@', '')
- data = language_dat[language]
+ data = lookupname(language)
if data then
data.synonyms[#data.synonyms+1] = dialect
end