]> git.lyx.org Git - lyx.git/blobdiff - src/TocBackend.h
cleanup after svn hang-up, #undef CursorShape. Should be compilable ganin now.
[lyx.git] / src / TocBackend.h
index c592f3d07c944a81d991056de48ce112f62995ef..1c7308dc4e63308bce866a762a9be91734fce91c 100644 (file)
@@ -124,8 +124,7 @@ private:
 inline
 bool operator==(TocBackend::Item const & a, TocBackend::Item const & b)
 {
-       return a.id() == b.id() && a.str() == b.str();
-       // No need to compare depth.
+       return a.id() == b.id() && a.str() == b.str() && a.depth() == b.depth();
 }