fixed bugs 10104 and 10107 -- also removed warnings

git-svn-id: svn://10.0.0.236/trunk@40247 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rickg%netscape.com
1999-07-20 06:58:01 +00:00
parent 0a606c6019
commit bb00524732
18 changed files with 46 additions and 26 deletions

View File

@@ -195,7 +195,7 @@ static void SetFont(const char* aFace,const char* aSize,PRBool aEnable,nsIConten
aSink.CloseContainer(theNode);
}
while(theToken=((CToken*)theNode.PopAttributeToken())){
while((theToken=(CToken*)theNode.PopAttributeToken())){
//dump the attributes since they're on the stack...
}
@@ -219,7 +219,7 @@ static void SetColor(const char* aColor,PRBool aEnable,nsIContentSink& aSink) {
aSink.CloseContainer(theNode);
}
while(theToken=((CToken*)theNode.PopAttributeToken())){
while((theToken=(CToken*)theNode.PopAttributeToken())){
//dump the attributes since they're on the stack...
}
@@ -866,7 +866,7 @@ NS_IMETHODIMP CViewSourceHTML::HandleToken(CToken* aToken,nsIParser* aParser) {
}
}
theStr.Append(aToken->GetStringValueXXX());
theStr.Append(";");
//theStr.Append(";");
::WriteText(theStr,*mSink,PR_FALSE,mIsPlaintext,theContext);
if(!mIsPlaintext){
SetStyle(eHTMLTag_font,PR_FALSE,*mSink);