From b6c724e8ab5caeef1e3d065e4c2fa05740d87859 Mon Sep 17 00:00:00 2001 From: Dimitri van Heesch Date: Mon, 23 Jul 2018 09:47:36 +0200 Subject: Minor fixes to local toc logic after feedback --- src/marshal.cpp | 6 +++--- src/types.h | 8 ++++---- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/src/marshal.cpp b/src/marshal.cpp index f13b6fd..fa29aed 100644 --- a/src/marshal.cpp +++ b/src/marshal.cpp @@ -740,15 +740,15 @@ LocalToc unmarshalLocalToc(StorageIntf *s) int htmlLevel = unmarshalInt(s); int latexLevel = unmarshalInt(s); int xmlLevel = unmarshalInt(s); - if ((mask & LocalToc::Html)!=0) + if ((mask & (1<