From 7fd77c458e699fb1df72ed031ae1fc052f1f6d02 Mon Sep 17 00:00:00 2001 From: Henrik Skov Midtiby Date: Mon, 15 Oct 2018 07:33:51 +0200 Subject: [PATCH] Added two percentage signs. --- todonotes.dtx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/todonotes.dtx b/todonotes.dtx index 52087ec..00bcea9 100644 --- a/todonotes.dtx +++ b/todonotes.dtx @@ -1930,10 +1930,10 @@ prior to loading the todonotes package.} \else\fi% % The |\todototoc| command respects the disable option. % \begin{macrocode} \newcommand{\todototoc} -{ +{% \if@todonotes@disabled \else - \addcontentsline{toc}{\@ifundefined{chapter}{section}{chapter}}{\@todonotes@todolistname} + \addcontentsline{toc}{\@ifundefined{chapter}{section}{chapter}}{\@todonotes@todolistname}% \fi } % \end{macrocode}