Set the command using the enumerated type rather than the string type.

git-svn-id: svn://10.0.0.236/trunk@64459 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
tbogard%aol.net
2000-03-29 06:10:04 +00:00
parent 0359cc1b34
commit c79eb9dae7

View File

@@ -1147,7 +1147,7 @@ NS_IMETHODIMP nsXULKeyListenerImpl::LoadKeyBindingDocument(nsIURI* aURI, nsIDOMX
NS_ASSERTION(NS_SUCCEEDED(rv), "unable to create parser");
if (NS_FAILED(rv)) return rv;
parser->SetCommand("view");
parser->SetCommand(eViewNormal);
nsAutoString utf8("UTF-8");
parser->SetDocumentCharset(utf8, kCharsetFromDocTypeDefault);