summaryrefslogtreecommitdiffstats
path: root/src/util.cpp
diff options
context:
space:
mode:
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