summaryrefslogtreecommitdiffstats
path: root/src/notes.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/notes.cpp')
-rw-r--r--src/notes.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/notes.cpp b/src/notes.cpp
index c47e746..8941e50 100644
--- a/src/notes.cpp
+++ b/src/notes.cpp
@@ -301,7 +301,7 @@ bool TNote::saveHTMLBuf(TQTextStream& ts, TQValueVector<int>& depths,
depths.append(0);
collection->find(item->firstChild())->saveHTMLBuf(ts, depths, flags);
}
- if ((SaveSubnotes | SaveAll) & flags && item->nextSibling())
+ if (SaveAll & flags && item->nextSibling())
collection->find(item->nextSibling())->saveHTMLBuf(ts, depths, flags);
if (!item->nextSibling()) depths.pop_back();
@@ -331,7 +331,7 @@ bool TNote::saveHTMLTocEntry(TQTextStream& ts, TQValueVector<int>& depths, int f
depths.append(0);
collection->find(item->firstChild())->saveHTMLTocEntry(ts, depths, flags);
}
- if ((SaveSubnotes | SaveAll) & flags && item->nextSibling())
+ if (SaveAll & flags && item->nextSibling())
collection->find(item->nextSibling())->saveHTMLTocEntry(ts, depths, flags);
if (!item->nextSibling()) {
depths.pop_back();