From 2617aa3572939fa4585640f85e3b2b8835827b97 Mon Sep 17 00:00:00 2001 From: Philipp Gesang Date: Thu, 11 Apr 2013 23:06:32 +0200 Subject: update mcb.lua for 5.2 --- luatexbase-mcb.dtx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'luatexbase-mcb.dtx') diff --git a/luatexbase-mcb.dtx b/luatexbase-mcb.dtx index b26f56f..e292b50 100644 --- a/luatexbase-mcb.dtx +++ b/luatexbase-mcb.dtx @@ -733,7 +733,7 @@ function remove_from_callback (name, description) end table.remove(l, index) info("removing '%s'\nfrom '%s'", description, name) - if table.maxn(l) == 0 then + if #l == 0 then callbacklist[name] = nil if not lua_callbacks_defaults[name] then register_callback(name, nil) -- cgit v1.2.3