summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf
diff options
context:
space:
mode:
Diffstat (limited to 'Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf')
-rw-r--r--Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf4
1 files changed, 2 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf
index d4c049b7157..5ed4034f87a 100644
--- a/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf
+++ b/Master/texmf-dist/tex/xelatex/polyglossia/gloss-serbian.ldf
@@ -4,7 +4,7 @@
%TODO eventually there will be patterns for Serbian-Latin as well as Serbian-Cyrillic
\ifx\l@serbian\@undefined%
\xpg@nopatterns{Serbian}%
- \adddialect\l@serbian0%
+ \adddialect\l@serbian\l@nohyphenation%
\fi
\newif\if@serbian@cyr
@@ -122,7 +122,7 @@
\if@serbian@cyr\serbian@font@cyr\else\serbian@font@lat\fi}
%TODO when available load latin hyphenation patterns as well!
-\def\serbian@language{\protect\language=\l@serbian}
+\def\serbian@language{\language=\l@serbian}
\setlocalhyphenmins{serbian}{2}{2}%