mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-26 06:11:37 +00:00
Fix typo in plain text factory. Fix for bug 8554, r sspitzer
This commit is contained in:
parent
907d086d7b
commit
71f072beae
@ -33,7 +33,7 @@ GetTextEditFactory(nsIFactory **aFactory, const nsCID & aClass)
|
||||
PR_EnterMonitor(GetEditorMonitor());
|
||||
|
||||
nsTextEditFactory *factory = new nsTextEditFactory(aClass);
|
||||
if (factory)
|
||||
if (!factory)
|
||||
return NS_ERROR_OUT_OF_MEMORY;
|
||||
nsCOMPtr<nsIFactory> pNSIFactory = do_QueryInterface(factory);
|
||||
if (!pNSIFactory)
|
||||
|
Loading…
Reference in New Issue
Block a user