|
Boost-Commit : |
Subject: [Boost-commit] svn:boost r67363 - sandbox/tools/auto_index/src
From: john_at_[hidden]
Date: 2010-12-20 10:33:13
Author: johnmaddock
Date: 2010-12-20 10:33:03 EST (Mon, 20 Dec 2010)
New Revision: 67363
URL: http://svn.boost.org/trac/boost/changeset/67363
Log:
Only remember the block's title if it has an ID we can link too as well.
Text files modified:
sandbox/tools/auto_index/src/auto_index.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
Modified: sandbox/tools/auto_index/src/auto_index.cpp
==============================================================================
--- sandbox/tools/auto_index/src/auto_index.cpp (original)
+++ sandbox/tools/auto_index/src/auto_index.cpp 2010-12-20 10:33:03 EST (Mon, 20 Dec 2010)
@@ -232,7 +232,7 @@
title_info title = { "", pt};
bool flatten = should_flatten_node(node->name.c_str());
- if(node->name == "title")
+ if((node->name == "title") && (id.prev->id))
{
//
// This actually sets the title of the enclosing scope,
Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk