diff options
author | Dimitri van Heesch <dimitri@stack.nl> | 2001-09-23 17:28:38 (GMT) |
---|---|---|
committer | Dimitri van Heesch <dimitri@stack.nl> | 2001-09-23 17:28:38 (GMT) |
commit | 156b0bb68fc4104792afb27ee4ee466f3efac206 (patch) | |
tree | 66859557d84fe96d692e8d6ee0a72d639a25b283 /src/util.cpp | |
parent | e4e787013da916e7331797233c1bec05c14b1f76 (diff) | |
download | Doxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.zip Doxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.tar.gz Doxygen-156b0bb68fc4104792afb27ee4ee466f3efac206.tar.bz2 |
Release-1.2.10-20010923
Diffstat (limited to 'src/util.cpp')
-rw-r--r-- | src/util.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/util.cpp b/src/util.cpp index 5f54a61..764ab02 100644 --- a/src/util.cpp +++ b/src/util.cpp @@ -473,7 +473,7 @@ ClassDef *getResolvedClass( { // strip * and & from n int ip=subst.length()-1; - while (subst.at(ip)=='*' || subst.at(ip)=='&' || subst.at(ip)==' ') ip--; + while (ip>=0 && (subst.at(ip)=='*' || subst.at(ip)=='&' || subst.at(ip)==' ')) ip--; subst=subst.left(ip+1); if (pIsTypeDef) *pIsTypeDef=TRUE; |