Bug 125090 Bad tag enum passed to CNavDTD::IntTagToStringTag()!!: 'str_ptr',

r=bz sr=jst
so much for consistency, the bug fix was errant in its parallelism and caused a crash
thanks to jonsmirl@yahoo.com for pointing out the correct index var
This commit is contained in:
timeless%mac.com 2002-06-25 23:49:02 +00:00
parent d87f5f4ade
commit 13e26356da

View File

@ -1918,7 +1918,7 @@ SinkContext::FlushTags(PRBool aNotify)
#ifdef NS_DEBUG
// Tracing code
nsCOMPtr<nsIAtom> tag;
mStack[mStackPos].mContent->GetTag(*getter_AddRefs(tag));
mStack[stackPos].mContent->GetTag(*getter_AddRefs(tag));
const PRUnichar* tagChar;
tag->GetUnicode(&tagChar);
nsDependentString str(tagChar);