Fix typo in plain text factory. Fix for bug 8554, r sspitzer
git-svn-id: svn://10.0.0.236/trunk@35958 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
parent
ac689b5488
commit
6d0d70ab2b
@ -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…
x
Reference in New Issue
Block a user