summaryrefslogtreecommitdiffstats
path: root/src/doxygen.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/doxygen.cpp')
-rw-r--r--src/doxygen.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/doxygen.cpp b/src/doxygen.cpp
index f0a8719..b9437f6 100644
--- a/src/doxygen.cpp
+++ b/src/doxygen.cpp
@@ -1010,6 +1010,7 @@ static Definition *buildScopeFromQualifiedName(const QCString name,
while (i<level)
{
int idx=getScopeFragment(name,p,&l);
+ if (idx==-1) return prevScope;
QCString nsName = name.mid(idx,l);
if (nsName.isEmpty()) return prevScope;
if (!fullScope.isEmpty()) fullScope+="::";