Bug 14419 (1 of 4): Fix typo!

git-svn-id: svn://10.0.0.236/trunk@57890 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
pollmann%netscape.com 2000-01-15 02:21:51 +00:00
parent d5abf240b9
commit 036af632b7
2 changed files with 2 additions and 2 deletions

View File

@ -529,7 +529,7 @@ nsHTMLOptionElement::SetText(const nsString& aText)
result = NS_NewTextNode(&text);
if (NS_OK == result) {
nsIDOMText* domtext;
result = text->QueryInterface(kIDOMTextIID, (void**)&tc);
result = text->QueryInterface(kIDOMTextIID, (void**)&domtext);
if (NS_OK == result) {
result = domtext->SetData(aText);
if (NS_SUCCEEDED(result)) {

View File

@ -529,7 +529,7 @@ nsHTMLOptionElement::SetText(const nsString& aText)
result = NS_NewTextNode(&text);
if (NS_OK == result) {
nsIDOMText* domtext;
result = text->QueryInterface(kIDOMTextIID, (void**)&tc);
result = text->QueryInterface(kIDOMTextIID, (void**)&domtext);
if (NS_OK == result) {
result = domtext->SetData(aText);
if (NS_SUCCEEDED(result)) {