summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
authorDimitri van Heesch <dimitri@stack.nl>2007-03-15 10:14:23 (GMT)
committerDimitri van Heesch <dimitri@stack.nl>2007-03-15 10:14:23 (GMT)
commitcc52853c15833c9a18be11c140b99d94d9e06e9e (patch)
tree5300b179faf00eea740dda6ee3be5343c70b1c79 /src/util.cpp
parenteb591296685b8268427173e0a24f74abd987170d (diff)
downloadDoxygen-cc52853c15833c9a18be11c140b99d94d9e06e9e.zip
Doxygen-cc52853c15833c9a18be11c140b99d94d9e06e9e.tar.gz
Doxygen-cc52853c15833c9a18be11c140b99d94d9e06e9e.tar.bz2
Release-1.5.1-20070315
Diffstat (limited to 'src/util.cpp')
-rw-r--r--src/util.cpp8
1 files changed, 6 insertions, 2 deletions
diff --git a/src/util.cpp b/src/util.cpp
index 985718a..866b555 100644
--- a/src/util.cpp
+++ b/src/util.cpp
@@ -395,6 +395,10 @@ QCString resolveTypeDef(Definition *context,const QCString &qualifiedName,
// qualifiedName.data(),context->name().data(),md->typeString()
// );
result=md->typeString();
+ if (result.find("*)")!=-1) // typedef of a function/member pointer
+ {
+ result+=md->argsString();
+ }
if (typedefContext) *typedefContext=md->getOuterScope();
}
else
@@ -1929,7 +1933,7 @@ QCString recodeString(const QCString &str,const char *fromEncoding,const char *t
{
outputSize-=oLeft;
output.resize(outputSize+1);
- output.at(outputSize+1)='\0';
+ output.at(outputSize)='\0';
//printf("iconv: input size=%d output size=%d\n[%s]\n",size,newSize,srcBuf.data());
}
else
@@ -1966,7 +1970,7 @@ QCString transcodeCharacterStringToUTF8(const QCString &input)
{
outputSize-=oLeft;
output.resize(outputSize+1);
- output.at(outputSize+1)='\0';
+ output.at(outputSize)='\0';
//printf("iconv: input size=%d output size=%d\n[%s]\n",size,newSize,srcBuf.data());
}
else