diff options
author | Marius <mariausol@gmail.com> | 2013-05-14 21:00:26 +0300 |
---|---|---|
committer | Marius <mariausol@gmail.com> | 2013-05-14 21:00:26 +0300 |
commit | cdb4e4f3d46c113269b9cdadb2162a57c6c224ca (patch) | |
tree | 8a2f70dc2315a31c57e9d6b24d146297e686f00d /tex/generic | |
parent | 86bd4f60148236a4713cb3654cbfa0fceed727ff (diff) | |
download | context-cdb4e4f3d46c113269b9cdadb2162a57c6c224ca.tar.gz |
beta 2013.05.14 19:42
Diffstat (limited to 'tex/generic')
-rw-r--r-- | tex/generic/context/luatex/luatex-fonts-merged.lua | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/tex/generic/context/luatex/luatex-fonts-merged.lua b/tex/generic/context/luatex/luatex-fonts-merged.lua index c6cadc909..abd13aa31 100644 --- a/tex/generic/context/luatex/luatex-fonts-merged.lua +++ b/tex/generic/context/luatex/luatex-fonts-merged.lua @@ -1,6 +1,6 @@ -- merged file : luatex-fonts-merged.lua -- parent file : luatex-fonts.lua --- merge date : 05/13/13 23:17:22 +-- merge date : 05/14/13 19:42:14 do -- begin closure to overcome local limits and interference @@ -2046,7 +2046,11 @@ function file.splitname(str,splitdrive) end end function file.splitbase(str) - return str and lpegmatch(pattern_d,str) + if str then + return lpegmatch(pattern_d,str) + else + return "",str + end end function file.nametotable(str,splitdrive) if str then |