Fix bogus return value on GetImageMap

This commit is contained in:
joki@netscape.com
1999-01-15 22:26:30 +00:00
parent 07cad2b482
commit dedb7c6ed4
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -392,7 +392,7 @@ nsHTMLDocument::GetImageMap(const nsString& aMapName,
}
}
return 1;/* XXX NS_NOT_FOUND */
return NS_ERROR_FAILURE;
}
NS_IMETHODIMP nsHTMLDocument::GetAttributeStyleSheet(nsIHTMLStyleSheet** aResult)