From a5288aca31ccecb78b561b4f382fe6c559bea9f9 Mon Sep 17 00:00:00 2001 From: albert-github Date: Sun, 6 Dec 2015 18:04:50 +0100 Subject: Bug 606104 - Deprecated list: Wrong prefix '::' for global functions The globalScope as shown in the output has no meaning and is confusing (and is also lacking the starting <). This problem is a regression from: Bug 740218 - Full scope needed when making link inside cross-referenced section [with test case] --- src/reflist.cpp | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/reflist.cpp b/src/reflist.cpp index 8380db7..5a80b19 100644 --- a/src/reflist.cpp +++ b/src/reflist.cpp @@ -153,9 +153,12 @@ void RefList::generatePage() doc += "\n"; if (item->scope) { - doc += "\\_setscope "; - doc += item->scope->name(); - doc += " "; + if (item->scope->name() != "") + { + doc += "\\_setscope "; + doc += item->scope->name(); + doc += " "; + } } doc += item->prefix; doc += " \\_internalref "; -- cgit v0.12