diff options
Diffstat (limited to 'tex/context/base/mkiv/strc-lst.lua')
-rw-r--r-- | tex/context/base/mkiv/strc-lst.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tex/context/base/mkiv/strc-lst.lua b/tex/context/base/mkiv/strc-lst.lua index 37bdf07d6..0f5d8e0d7 100644 --- a/tex/context/base/mkiv/strc-lst.lua +++ b/tex/context/base/mkiv/strc-lst.lua @@ -903,7 +903,7 @@ function lists.hastitledata(name,n,tag) if data then local titledata = data.titledata if titledata then - return (titledata[tag] or titledata.title or "") == "" + return (titledata[tag] or titledata.title or "") ~= "" end end return false @@ -924,7 +924,7 @@ function lists.hasnumberdata(name,n) local data = lists.result[n] if data then local numberdata = data.numberdata - if numberdata and not numberdata.hidenumber then -- th ehide number is true + if numberdata and not numberdata.hidenumber then -- the hide number is true return true end end |