diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2008-03-25 18:42:56 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2008-03-25 18:42:56 (GMT) |
commit | c6c19d2984bfd7265b6d5f82336c991ec35727da (patch) | |
tree | ac946941d432585f18f08ee563fec2f48faae1de /src/util.cpp | |
parent | 5b23c9573e3e7925987dc706c17357d54f517e40 (diff) | |
download | Doxygen-c6c19d2984bfd7265b6d5f82336c991ec35727da.zip Doxygen-c6c19d2984bfd7265b6d5f82336c991ec35727da.tar.gz Doxygen-c6c19d2984bfd7265b6d5f82336c991ec35727da.tar.bz2 |
Release-1.5.5-20080325
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index db5eb08..a1281f9 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -4944,7 +4944,8 @@ QCString stripScope(const char *name) count=1; //printf("pos < = %d\n",p); p--; - while (p>=0) + bool foundMatch=false; + while (p>=0 && !foundMatch) { c=result.at(p--); switch (c) @@ -4962,6 +4963,7 @@ QCString stripScope(const char *name) } } count--; + foundMatch = count==0; break; default: //printf("c=%c count=%d\n",c,count); |