From 4ebd1bb559f0e74db3704617dc3b4b6d149f24d1 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Manuel=20P=C3=A9gouri=C3=A9-Gonnard?= <mpg@elzevir.fr>
Date: Mon, 29 Mar 2010 18:24:04 +0200
Subject: mcb now compatible with luatex 0.25.4

---
 luatexbase-mcb.dtx | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

(limited to 'luatexbase-mcb.dtx')

diff --git a/luatexbase-mcb.dtx b/luatexbase-mcb.dtx
index 4abe6db..7897822 100644
--- a/luatexbase-mcb.dtx
+++ b/luatexbase-mcb.dtx
@@ -397,10 +397,11 @@ callbacktypes = callbacktypes or {
 %    \end{macrocode}
 %
 %    In Lua\TeX\ version 0.43, a new callback called |process_output_buffer|
-%    appeared, so we enable it.
+%    appeared, so we enable it. Test the version using the compat package for,
+%    well, compatibility.
 %
 %    \begin{macrocode}
-if tex.luatexversion > 42 then
+if luatexbase.luatexversion > 42 then
     callbacktypes["process_output_buffer"] = data
 end
 %    \end{macrocode}
-- 
cgit v1.2.3

