summaryrefslogtreecommitdiff
path: root/tex/context/base/mkiv/strc-num.lua
diff options
context:
space:
mode:
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)