summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/strc-num.lua
diff options
context:
space:
mode:
authorContext Git Mirror Bot <phg42.2a@gmail.com>2016-08-29 11:49:06 +0200
committerContext Git Mirror Bot <phg42.2a@gmail.com>2016-08-29 11:49:06 +0200
commit0a0ad928b3eb911e1963b282dfebc9e891fefaa5 (patch)
tree01fb52585e0a5bd68984b07d22d7c0b5b6fb2736 /tex/context/base/mkiv/strc-num.lua
parent3c6d94c78fea9d7237094535082ad509b22e333a (diff)
downloadcontext-0a0ad928b3eb911e1963b282dfebc9e891fefaa5.tar.gz
2016-08-29 11:21:00
Diffstat (limited to 'tex/context/base/mkiv/strc-num.lua')
-rw-r--r--tex/context/base/mkiv/strc-num.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/tex/context/base/mkiv/strc-num.lua b/tex/context/base/mkiv/strc-num.lua
index ef18406b8..233f8f0a8 100644
--- a/tex/context/base/mkiv/strc-num.lua
+++ b/tex/context/base/mkiv/strc-num.lua
@@ -444,7 +444,7 @@ function counters.restore(name)
local saved = cd.saved
if not saved then
-- is ok
- elseif #saved > 1 then
+ elseif #saved > 0 then
cd.data = remove(saved)
else
report_counters("restore without save for counter %a",name)