diff options
author | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-11 23:51:37 -0700 |
---|---|---|
committer | Elie Roux <elie.roux@telecom-bretagne.eu> | 2013-04-11 23:51:37 -0700 |
commit | c0466d132f77225a13d71f69492b6dfb56ef7e11 (patch) | |
tree | 436519e64c45d7c92d4c84cffd42cfd9a4a4985d /luatexbase-mcb.dtx | |
parent | e1235674abdd5cf891f169e30683fddbfcb87af1 (diff) | |
parent | 2617aa3572939fa4585640f85e3b2b8835827b97 (diff) | |
download | luatexbase-c0466d132f77225a13d71f69492b6dfb56ef7e11.tar.gz |
Merge pull request #1 from phi-gamma/master
make mcb.lua Lua 5.2 compliant
Diffstat (limited to 'luatexbase-mcb.dtx')
-rw-r--r-- | luatexbase-mcb.dtx | 2 |
1 files changed, 1 insertions, 1 deletions
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) |