X-Git-Url: https://git.distorted.org.uk/~mdw/mdwtools/blobdiff_plain/c8ea265ae80303acb1d20a8473294fc96c28e1ff..11222df6d22f1e7decc2c476f290e141ea9b3a90:/footnote.dtx?ds=inline

diff --git a/footnote.dtx b/footnote.dtx
index 022e61d..235b179 100644
--- a/footnote.dtx
+++ b/footnote.dtx
@@ -37,7 +37,7 @@
 %<+package>                [1997/01/28 1.13 Save footnotes around boxes]
 % \end{meta-comment}
 %
-% \CheckSum{328}
+% \CheckSum{329}
 %\iffalse
 %<*package>
 %\fi
@@ -224,7 +224,7 @@
 % Footnotes are finished off by this macro.  This is the easy bit.
 %
 %    \begin{macrocode}
-\let\fn@endnote\color@endgroup
+\def\fn@endnote{\color@endgroup}
 %    \end{macrocode}
 %
 % \end{macro}
@@ -478,6 +478,7 @@
 \def\fn@endfntext{%
     \@finalstrut\strutbox%
     \fn@postfntext%
+    \fn@endnote%
   \egroup%
   \begingroup%
     \let\@makefntext\@empty%
